/* FORGE marketing site — no external fonts or scripts (privacy + speed). */
:root {
  --bg: #fbfaff; --surface: #fff; --surface-2: #f4f2fd; --ink: #15132b; --ink-2: #4f4c69; --ink-3: #8d8aa3;
  --line: rgba(35, 30, 90, .09); --accent: #5547da; --accent-2: #3477ff; --accent-3: #14c8bd;
  --grad: linear-gradient(110deg, #5547da 0%, #3477ff 55%, #14c8bd 110%);
  --dark: #0f0d1f; --dark-2: #1a1735; --r: 22px;
  --display: "Inter Tight", "Segoe UI Variable Display", "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ui: "Segoe UI Variable Text", "SF Pro Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --shadow: 0 30px 80px -30px rgba(40, 30, 120, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--ui); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 86px); font-weight: 900; }
h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 850; }
h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { margin: 0 0 12px; font: 700 13px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 600px; margin: 22px 0 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head p:not(.eyebrow) { color: var(--ink-2); margin: 16px 0 0; }
section { padding: 96px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; font: 700 15px/1 var(--ui); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(85, 71, 218, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(85, 71, 218, .8); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(85, 71, 218, .35); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid rgba(85, 71, 218, .45); outline-offset: 3px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.6) blur(14px); background: rgba(251, 250, 255, .78); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 900 20px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 24px; align-items: center; margin-left: 12px; }
.nav-links > a, .drop summary { font-weight: 600; font-size: 15px; color: var(--ink-2); text-decoration: none; cursor: pointer; list-style: none; }
.nav-links > a:hover, .drop summary:hover { color: var(--ink); }
.drop { position: relative; } .drop summary::-webkit-details-marker { display: none; }
.drop summary::after { content: ''; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 0 0 3px 8px; }
.drop-menu { position: absolute; top: 34px; left: -16px; min-width: 250px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: grid; }
.drop-menu a { padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.drop-menu a:hover, .drop-menu a[aria-current] { background: var(--surface-2); color: var(--accent); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1; background: radial-gradient(600px 420px at 78% 30%, rgba(52, 119, 255, .18), transparent 70%), radial-gradient(520px 380px at 92% 70%, rgba(20, 200, 189, .16), transparent 70%), radial-gradient(640px 460px at 10% 0%, rgba(85, 71, 218, .14), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 24px 0 0; list-style: none; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.trust li { display: inline-flex; gap: 8px; align-items: center; } .trust svg { color: var(--accent-3); }
.prompt { margin-top: 30px; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px -30px rgba(40, 30, 120, .5); font-weight: 600; }
.prompt-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); flex: none; }
.typed { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.caret { width: 2px; height: 22px; background: var(--accent); animation: blink 1s steps(2) infinite; flex: none; }
.prompt b { margin-left: auto; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
@keyframes blink { 50% { opacity: 0; } }

.hero-stage { position: relative; height: 640px; }
.phone { position: absolute; margin: 0; width: 280px; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000; border: 8px solid #12101f; box-shadow: var(--shadow); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(15, 13, 31, .72); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.p-front { left: 50%; top: 20px; transform: translateX(-50%); z-index: 3; width: 300px; }
.p-back { top: 90px; width: 240px; opacity: .92; filter: saturate(1.05); }
.p-left { left: 0; transform: rotate(-7deg); } .p-right { right: 0; transform: rotate(7deg); }
.chips { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.chips span { position: absolute; display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: 0 16px 40px -20px rgba(40, 30, 120, .6); font-size: 14px; font-weight: 700; opacity: 0; animation: chip 6s var(--d) infinite; }
.chips svg { color: #0e9a6b; }
.chips span:nth-child(1) { left: -10px; top: 70px; } .chips span:nth-child(2) { right: -12px; top: 180px; }
.chips span:nth-child(3) { left: -24px; top: 380px; } .chips span:nth-child(4) { right: -6px; top: 500px; }
@keyframes chip { 0% { opacity: 0; transform: translateY(10px); } 8%, 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-6px); } }

/* models strip */
.models { padding: 26px 0; border-block: 1px solid var(--line); background: var(--surface); }
.models-in { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 26px; color: var(--ink-2); font-weight: 600; }
.models-in span { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.models-in b { font: 800 19px/1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.models-in i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); background: #cfcbe6; }

/* pipeline */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: s; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.steps .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }

/* examples reel */
.examples { background: linear-gradient(180deg, var(--bg), #f1effc); }
.reel { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.reel .phone { position: relative; width: 250px; transition: transform .3s; }
.reel .phone:nth-child(odd) { transform: translateY(24px); }
.reel .phone:hover { transform: translateY(-6px) scale(1.02); }

/* bento formats */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile p { color: var(--ink-2); margin: 8px 0 0; font-size: 15.5px; }
.tile .more { margin-top: auto; padding-top: 18px; display: inline-flex; gap: 8px; align-items: center; font-weight: 800; color: var(--accent); }
.t-wide { grid-column: span 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; }
.t-wide > div { display: flex; flex-direction: column; height: 100%; }
.t-wide img { border-radius: 18px; width: 100%; height: 100%; object-fit: cover; }
.t-dark { grid-row: span 2; background: radial-gradient(400px 300px at 80% 0%, rgba(52, 119, 255, .35), transparent 70%), var(--dark); color: #fff; border-color: transparent; }
.t-dark p { color: #c4c0e0; } .t-dark .eyebrow, .t-dark .more { color: #7ff0e6; }
.t-thumb { display: grid; grid-template-columns: 1fr 120px; gap: 14px; }
.t-thumb > div { display: flex; flex-direction: column; } .t-thumb img { border-radius: 14px; width: 120px; height: auto; align-self: center; }

/* clip studio demo */
.clipdemo { margin-top: 22px; display: grid; gap: 14px; }
.clipdemo-src { padding: 14px; border-radius: 16px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); }
.clipdemo-src span { display: block; margin-top: 10px; color: #a9a5c8; font-size: 13px; font-weight: 600; }
.wave { display: flex; align-items: center; gap: 3px; height: 44px; }
.wave i { flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(#7ff0e6, #3477ff); opacity: .85; animation: wv 1.6s ease-in-out infinite alternate; }
.wave i:nth-child(3n) { animation-delay: .3s; } .wave i:nth-child(4n) { animation-delay: .6s; }
@keyframes wv { to { transform: scaleY(.55); } }
.clipdemo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.clipdemo-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); animation: rise .6s var(--d) both; }
.clipdemo-list strong { display: block; font-size: 14.5px; line-height: 1.3; color: #fff; } .clipdemo-list span { font-size: 12.5px; color: #a9a5c8; }
.clipdemo-list em { font-style: normal; font-size: 12px; color: #a9a5c8; font-weight: 700; }
.score { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 800 16px/1 var(--display); color: #fff; background: conic-gradient(#14c8bd calc(var(--s) * 1%), rgba(255, 255, 255, .12) 0); position: relative; }
.score::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--dark); z-index: 0; } .score { isolation: isolate; } .score::before { z-index: -1; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* compare */
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font: 800 15px/1 var(--display); color: var(--ink-2); } .compare thead th:nth-child(2) { color: var(--accent); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td:nth-child(2) { font-weight: 700; } .compare td svg { color: #0e9a6b; margin-right: 8px; vertical-align: -2px; }
.compare td:nth-child(3) { color: var(--ink-3); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.plan.best { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 22px; padding: 5px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }
.price { font: 900 40px/1 var(--display); letter-spacing: -.04em; margin: 14px 0 16px; } .price span { font: 600 15px var(--ui); color: var(--ink-3); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 8px; } .plan li svg { color: var(--accent-3); margin-top: 4px; }
.plan .btn { margin-top: auto; justify-content: center; }
.fine { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 22px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 750 19px/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 26px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--ink-2); }
.faq h2 { text-align: center; margin-bottom: 30px; }

/* tool links */
.tools { padding: 64px 0; } .tools h2 { font-size: clamp(26px, 3vw, 36px); text-align: center; margin-bottom: 26px; }
.tool-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tool-links a { display: inline-flex; gap: 8px; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.tool-links a:hover { border-color: rgba(85, 71, 218, .4); color: var(--accent); }

/* waitlist cta */
.cta { padding: 40px 0 110px; }
.cta-in { padding: 64px; border-radius: 34px; text-align: center; color: #fff; background: radial-gradient(500px 300px at 15% 0%, rgba(20, 200, 189, .45), transparent 70%), radial-gradient(600px 360px at 100% 100%, rgba(52, 119, 255, .5), transparent 70%), var(--dark); box-shadow: var(--shadow); }
.cta-in p { color: #c9c5e8; max-width: 620px; margin: 16px auto 0; }
.wl { margin: 30px auto 0; max-width: 620px; display: grid; grid-template-columns: 1fr auto; gap: 10px; text-align: left; }
.wl input[type=email] { padding: 16px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font: 600 17px var(--ui); }
.wl input[type=email]::placeholder { color: #9e9ac0; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #c9c5e8; }
.consent input { margin-top: 3px; accent-color: #14c8bd; } .consent a { color: #7ff0e6; }
.wl-msg { grid-column: 1 / -1; margin: 0; min-height: 22px; font-weight: 700; color: #7ff0e6; }
.wl-msg.bad { color: #ff9aa8; }

/* sub pages */
.page-hero { padding-bottom: 64px; }
.page-hero .hero-in { grid-template-columns: 1.15fr .85fr; }
.page-media { position: relative; display: grid; place-items: center; min-height: 560px; }
.page-media .phone { position: relative; left: auto; top: auto; transform: none; }
.page-media.dark { min-height: 0; padding: 26px; border-radius: 28px; background: var(--dark); }
.page-media img { border-radius: 26px; box-shadow: var(--shadow); max-height: 600px; width: auto; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; } .crumbs a { color: var(--accent); text-decoration: none; font-weight: 700; }
.castimg { padding: 0 0 40px; } .castimg img { border-radius: 26px; box-shadow: var(--shadow); width: 100%; }
.points h2 { text-align: center; margin-bottom: 28px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li { display: flex; gap: 12px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.checks svg { color: var(--accent-3); font-size: 20px; margin-top: 2px; }
.legal { padding: 64px 0 100px; } .legal h1 { font-size: 44px; margin-bottom: 24px; } .legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal mark { background: #fff1c2; padding: 0 4px; border-radius: 4px; }

/* footer */
.foot { background: var(--dark); color: #c9c5e8; padding: 64px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand { color: #fff; } .foot p { font-size: 15px; max-width: 320px; }
.foot h3 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.foot-in > div:not(:first-child) a { display: block; padding: 4px 0; color: #c9c5e8; text-decoration: none; font-size: 15px; } .foot a:hover { color: #fff; }
.foot-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #8f8bb0; }

/* responsive */
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(3, 1fr); } .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .hero-in, .page-hero .hero-in { grid-template-columns: 1fr; }
  .hero-stage { height: 560px; max-width: 560px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; } .t-wide { grid-column: 1 / -1; grid-template-columns: 1fr; } .t-dark { grid-row: auto; grid-column: 1 / -1; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding-top: 40px; }
  .hero-stage { height: 470px; } .p-front { width: 230px; } .p-back { width: 170px; top: 80px; }
  .chips span { font-size: 12px; padding: 8px 10px; } .chips span:nth-child(1) { left: 0; } .chips span:nth-child(3) { left: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; } .steps li { padding: 16px; } .steps h3 { font-size: 18px; } .steps p { font-size: 14px; }
  .steps.three, .plans, .bento, .checks { grid-template-columns: 1fr; }
  .reel .phone { width: calc(50% - 11px); } .reel .phone:nth-child(odd) { transform: none; }
  .cta-in { padding: 40px 22px; } .wl { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px; font-size: 14px; }
  .foot-in { grid-template-columns: 1fr; }
  .t-thumb { grid-template-columns: 1fr 96px; } .t-thumb img { width: 96px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .chips span { opacity: 1; } }
