/* VFx Media — "Studio" (2026-12): the motion-design studio site for SaaS, startups and product brands.
 *
 * Modelled on big-tech launch pages: a black stage, very large tight headlines, generous space,
 * the work itself as the hero, one cool accent gradient used sparingly (headline accents and the
 * recommended plan), quiet glass panels for pricing. Inter Tight for display, Inter for text.
 * Used by index, work and start. The /for/, /agree, /brief and review pages keep site.css.
 */

:root {
  --bg: #000000;
  --bg-2: #0A0A0C;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --edge: rgba(255, 255, 255, 0.10);
  --edge-2: rgba(255, 255, 255, 0.18);
  --text: #F5F5F7;
  --text-2: #C7C7CC;
  --muted: #86868B;
  --accent: #6E8BFF;
  --accent-2: #A78BFA;
  --grad: linear-gradient(100deg, #5AA9FF 0%, #7C83FF 45%, #B07CFF 100%);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: #3B3F8F; color: #fff; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.62); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--edge); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.wordmark .mark { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--text-2); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: #F5F5F7; color: #000; font: 600 16px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn:focus-visible, .btn-ghost:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--edge-2); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { color: var(--accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- type ---------- */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent); margin: 0 0 14px; }
.h-hero { font-family: var(--display); font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; font-size: clamp(46px, 8.4vw, 112px); margin: 0; }
.h-sec { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.03; font-size: clamp(36px, 5.4vw, 68px); margin: 0; }
.h-card { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: 24px; line-height: 1.15; margin: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; color: var(--text-2); max-width: 680px; }
.muted { color: var(--muted); }
section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head .lead { margin-top: 20px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(64px, 9vw, 120px); padding-bottom: 40px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: 36%; width: min(1100px, 140vw); height: 700px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(110, 139, 255, 0.22), rgba(176, 124, 255, 0.10) 55%, rgba(0, 0, 0, 0) 100%); pointer-events: none; }
.hero > .wrap { position: relative; }
.hero .lead { margin: 26px auto 0; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* row of phones under the hero */
.stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 28px); max-width: 980px; margin: clamp(48px, 7vw, 84px) auto 0; align-items: end; }
.stage .screen:nth-child(2) { transform: translateY(-28px); }
@media (max-width: 640px) { .stage { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stage .screen:nth-child(3) { display: none; } .stage .screen:nth-child(2) { transform: none; } }

.screen { position: relative; overflow: hidden; border-radius: 26px; background: #0B0B0E; box-shadow: 0 0 0 1px var(--edge), 0 40px 100px rgba(0, 0, 0, 0.6); }
.screen video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.screen-9x16 { aspect-ratio: 9 / 16; }
.screen-16x9 { aspect-ratio: 16 / 9; border-radius: 18px; }
.toggle { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .2s; }
.screen:hover .toggle, .toggle:focus-visible, .toggle[data-state="paused"] { opacity: 1; }
.toggle::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%); border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.toggle[data-state="playing"]::before { transform: translate(-50%, -50%); width: 10px; height: 12px; border: 0; border-left: 3px solid #fff; border-right: 3px solid #fff; }

/* built for */
.built-for { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 56px; color: var(--muted); font-size: 15px; }
.built-for b { color: var(--text-2); font-weight: 500; }

/* ---------- what we make ---------- */
.make { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .make { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .make { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--edge); border-radius: 24px; padding: 28px; }
.make .card { display: flex; flex-direction: column; gap: 12px; min-height: 240px; }
.make .len { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.make .len small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.make p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.make .fmt { margin-top: auto; font-size: 13px; color: var(--muted); }

/* ---------- showcase ---------- */
.show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.show + .show { margin-top: clamp(70px, 10vw, 130px); }
.show.flip .show-media { order: 2; }
.show-media { max-width: 360px; width: 100%; justify-self: center; }
.show-meta .tag { display: inline-block; font-size: 13px; color: var(--text-2); padding: 6px 12px; border-radius: 999px; background: var(--panel-2); margin-bottom: 18px; }
.show-meta h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; margin: 0 0 16px; }
.show-meta p { color: var(--text-2); margin: 0 0 12px; max-width: 520px; }
.show-meta .style { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .show { grid-template-columns: minmax(0, 1fr); } .show.flip .show-media { order: 0; } .show-media { max-width: 300px; } }
.more { margin-top: 70px; text-align: center; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: s; border-top: 1px solid var(--edge-2); padding-top: 22px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-size: 15px; color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* ---------- pricing ---------- */
.price-group + .price-group { margin-top: 56px; }
.price-group > h3 { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; margin: 0 0 16px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .plans, .plans.two { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; background: var(--panel); border: 1px solid var(--edge); border-radius: 26px; padding: 30px; }
.plan.pick { background: linear-gradient(180deg, rgba(110, 139, 255, 0.14), rgba(176, 124, 255, 0.05)); border-color: rgba(124, 131, 255, 0.55); }
.plan .badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 600; color: #000; background: var(--grad); padding: 5px 10px; border-radius: 999px; }
.plan h4 { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.plan .amount { font-family: var(--display); font-size: 52px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.plan .amount small { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan .per { font-size: 14px; color: var(--muted); margin-top: -8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--text-2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0 3px, transparent 3.5px), rgba(110, 139, 255, 0.16); }
.plan .btn { margin-top: auto; }
.pilot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 28px; align-items: center; background: var(--panel); border: 1px solid var(--edge); border-radius: 26px; padding: 30px 34px; }
.pilot p { margin: 6px 0 0; color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) { .pilot { grid-template-columns: minmax(0, 1fr); } }
.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--edge); }
@media (max-width: 900px) { .included { grid-template-columns: minmax(0, 1fr); } }
.included dt { font-weight: 600; margin-bottom: 4px; }
.included dd { margin: 0; color: var(--text-2); font-size: 15.5px; }
.fineprint { margin-top: 36px; font-size: 14px; color: var(--muted); max-width: 820px; }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-size: 28px; font-weight: 300; color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--text-2); max-width: 720px; }

/* ---------- cta + footer ---------- */
.cta { text-align: center; }
.cta .lead { margin: 22px auto 34px; }
.footer { border-top: 1px solid var(--edge); padding: 40px 0 56px; font-size: 13.5px; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 14px 32px; align-items: center; }
.footer-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; justify-self: end; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.disclaimer { grid-column: 1 / -1; margin: 6px 0 0; max-width: 860px; line-height: 1.5; }
@media (max-width: 600px) { .footer-inner { grid-template-columns: minmax(0, 1fr); } .footer-links { justify-self: start; } }

/* ---------- work page ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .work-grid { grid-template-columns: minmax(0, 1fr); } }
.work-grid figure { margin: 0; }
.work-grid figcaption { margin-top: 14px; }
.work-grid figcaption b { display: block; font-family: var(--display); font-size: 19px; letter-spacing: -0.015em; }
.work-grid figcaption span { color: var(--muted); font-size: 14.5px; }
.work-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
@media (max-width: 760px) { .work-wide { grid-template-columns: minmax(0, 1fr); } }
.work-wide figure { margin: 0; }
.work-wide figcaption { margin-top: 12px; }
.work-wide figcaption b { display: block; font-family: var(--display); font-size: 18px; }
.work-wide figcaption span { color: var(--muted); font-size: 14.5px; }

/* ---------- start page + form ---------- */
.start { padding-top: clamp(56px, 8vw, 100px); }
.start-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .start-grid { grid-template-columns: minmax(0, 1fr); } }
.start-copy { position: sticky; top: 100px; }
@media (max-width: 900px) { .start-copy { position: static; } }
.next-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 4px 14px; }
.next-steps li::before { content: counter(n); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel-2); color: var(--text); font-size: 14px; font-weight: 600; }
.next-steps h2 { font-size: 17px; margin: 3px 0 0; font-weight: 600; }
.next-steps p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.start-panel { background: var(--bg-2); border: 1px solid var(--edge); border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); }
.brief { display: grid; gap: 28px; }
.fs { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.fs:not(:last-of-type) { border-bottom: 1px solid var(--edge); padding-bottom: 28px; }
.fs legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 8px; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.fs-n { width: 26px; height: 26px; border-radius: 50%; background: rgba(110, 139, 255, 0.18); color: #C9D2FF; display: grid; place-items: center; font-size: 13px; font-family: var(--sans); }
.fs-hint { font-size: 14.5px; color: var(--muted); margin: -4px 0 0; }
.fs-hint a { color: var(--accent); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--text-2); }
.field em { font-style: normal; color: var(--muted); margin-left: 4px; }
.field input, .field textarea, .field select { width: 100%; font: 16px/1.4 var(--sans); color: var(--text); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--edge); border-radius: 14px; padding: 13px 15px; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #6A6A70; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(110, 139, 255, 0.06); }
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #111; }
.hp { position: absolute; left: -9999px; }
.pick { display: flex; flex-wrap: wrap; gap: 10px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pick span { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--edge); color: var(--text-2); font-size: 15px; transition: all .2s; }
.pick label:hover span { border-color: var(--edge-2); color: var(--text); }
.pick input:checked + span { border-color: var(--accent); background: rgba(110, 139, 255, 0.16); color: var(--text); }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-error { color: #FCA5A5; font-size: 14.5px; margin: 0; }
.btn-submit { width: 100%; min-height: 54px; font-size: 17px; }
.form-status { min-height: 1.4em; margin: 0; font-size: 15px; color: var(--muted); }
.form-status.ok { color: #86EFAC; }
.form-status.err { color: #FCA5A5; }
.form-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.form-done h2 { font-family: var(--display); font-size: 32px; letter-spacing: -0.03em; margin: 0 0 12px; }
.form-done p { color: var(--text-2); }
.form-done:focus { outline: none; }

/* ---------- /for/ sample pages for startups ---------- */
.for-studio { min-height: 100vh; display: flex; align-items: center; padding: clamp(32px, 6vw, 80px) 0; }
.for-studio-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.for-studio-copy .wordmark { margin-bottom: 40px; }
.for-studio-copy .lead { margin: 22px 0 0; }
.for-studio-note { margin-top: 30px; color: var(--text-2); font-size: 15.5px; max-width: 520px; }
.for-studio-fine { margin-top: 20px; color: var(--muted); font-size: 13px; }
@media (max-width: 820px) { .for-studio-grid { grid-template-columns: minmax(0, 1fr); } .for-studio-video { max-width: 340px; margin: 0 auto; width: 100%; } }
