/* FeedStudio landing. Yellow, ink and paper; sticker outlines; solid offset shadows, no blur. */
:root {
  --yellow: #fff700;
  --ink: #121212;
  --paper: #f7f7f5;
  --white: #ffffff;
  --muted: #5d5d59;
  --line: rgba(18, 18, 18, 0.14);
  --display: 'Montserrat', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --gutter: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 68px); }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 18px; letter-spacing: -0.01em; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--yellow); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.pill { display: inline; background: var(--ink); color: var(--yellow); border-radius: 0.6em; padding: 0.02em 0.32em 0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.brand-text .pill, .plan .pill { display: inline-block; border-radius: 999px; }
.kicker { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #2c2c2a; max-width: 34em; margin-top: 18px; }
.fine { font-size: 13px; color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px;
  background: var(--yellow); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 0 4px 0 0 var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.12s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--ink); }
.btn-ghost { background: var(--white); }
.btn-ink { background: var(--ink); color: var(--yellow); box-shadow: 0 4px 0 0 rgba(18, 18, 18, 0.35); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 12px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(247, 247, 245, 0.92);
  border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 5px; }
.brand-text.small { font-size: 20px; }
.brand-text .pill { padding: 2px 10px 4px; }
.nav-links { display: none; gap: 26px; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .link { font-weight: 700; font-size: 14px; text-decoration: none; display: none; }
@media (min-width: 860px) { .nav-links { display: flex; } .nav-cta .link { display: inline; } }

/* story: sticky 3D stage + scrolling panels */
.story { position: relative; }
.stage {
  position: sticky; top: 66px; z-index: 2;
  height: 42vh; min-height: 260px;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.stage.no-3d .stage-fallback { display: flex; }
.stage.no-3d canvas { display: none; }
.stage-label {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: var(--white); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 3px 0 0 var(--ink);
  padding: 6px 14px; font-family: var(--display); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.panels { position: relative; z-index: 1; }
.panel { padding: 44px var(--gutter) 56px; min-height: 58vh; display: flex; flex-direction: column; justify-content: center; }
.panel.hero { padding-top: 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.panel .fine { margin-top: 16px; }
.ticks, .channels { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 12px; font-weight: 500; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 2px solid var(--ink);
}
.channels { display: flex; flex-wrap: wrap; gap: 8px; }
.channels li { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; }

@media (min-width: 960px) {
  .story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); max-width: 1320px; margin: 0 auto; }
  .panels { grid-column: 1; grid-row: 1; }
  .stage { grid-column: 2; grid-row: 1; top: 66px; height: calc(100vh - 66px); border-bottom: 0; border-left: 2px solid var(--ink); }
  .panel { min-height: calc(100vh - 66px); padding: 60px 56px 60px max(var(--gutter), 40px); }
  .stage-label { bottom: 28px; font-size: 13px; }
}

/* bands */
.band { padding: 84px 0; background: var(--white); border-top: 2px solid var(--ink); }
.band-paper { background: var(--paper); }
.band-yellow { background: var(--yellow); }
.band-yellow h2 { max-width: 16em; margin: 0 auto 30px; }
.band h2 { margin-bottom: 34px; }

.models { display: grid; grid-template-columns: 1fr; gap: 12px; }
.model { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 14px 16px; }
.model img { width: 32px; height: 32px; flex: none; }
.model div { flex: 1; min-width: 0; }
.model p { font-size: 14px; color: var(--muted); }
.tag { flex: none; background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 4px 11px; font-weight: 700; font-size: 12px; white-space: nowrap; }
@media (min-width: 720px) { .models { grid-template-columns: 1fr 1fr; } }

.toggle { display: inline-flex; padding: 4px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; margin-bottom: 30px; }
.toggle button { border: 0; background: transparent; height: 40px; padding: 0 18px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--muted); cursor: pointer; }
.toggle button.on { background: var(--ink); color: var(--yellow); }
.toggle .save { font-family: var(--body); font-weight: 700; font-size: 11px; margin-left: 4px; opacity: 0.85; }
.plans { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 4px 0 0 var(--ink); padding: 26px 22px 24px; display: flex; flex-direction: column; }
.plan-hot { background: var(--yellow); }
.badge { position: absolute; top: -13px; left: 20px; background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 3px 12px; font-family: var(--display); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.plan h3 { font-size: 20px; }
.price { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; margin-top: 10px; line-height: 1; }
.price small { font-family: var(--body); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan-hot .price small { color: #3a3a00; }
.credits { margin-top: 10px; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plan .btn { width: 100%; }
.plan-hot .btn { background: var(--ink); color: var(--yellow); }
.plans + .fine { margin-top: 28px; max-width: 60em; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .plans { grid-template-columns: repeat(4, 1fr); } }

details { background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 0 20px; margin-bottom: 12px; }
summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 700; }
details[open] summary::after { content: '\2212'; }
details p { padding: 0 0 20px; color: #2c2c2a; }

.foot { background: var(--ink); color: var(--paper); padding: 34px 0; }
.foot .brand-text { color: var(--paper); }
.foot .brand-text .pill { background: var(--yellow); color: var(--ink); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot nav { display: flex; gap: 22px; font-size: 15px; }
.foot .fine { color: rgba(247, 247, 245, 0.6); width: 100%; }

/* showcase: real generations, each with the model that made it */
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .kicker { color: rgba(247, 247, 245, 0.6); }
.band-ink .lead { color: rgba(247, 247, 245, 0.82); margin: -14px 0 34px; }
.pill-yellow { background: var(--yellow); color: var(--ink); }
.shots { columns: 2; column-gap: 12px; }
.shot { position: relative; margin: 0 0 12px; break-inside: avoid; border-radius: 18px; overflow: hidden; border: 2px solid var(--paper); background: #1e1e1e; }
.shot img, .shot video { width: 100%; height: auto; display: block; }
.shot > img { transition: transform 0.5s ease; }
.shot:hover > img { transform: scale(1.03); }
.made { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 6px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px 3px 5px; font-weight: 700; font-size: 12px; }
.made img { width: 16px; height: 16px; }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent); color: #fff; font-size: 13px; font-weight: 500; }
.play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23121212'%3E%3Cpath d='M8 5.500v13a1 1 0 0 0 1.500.900l10.500-6.500a1 1 0 0 0 0-1.700L9.500 4.600A1 1 0 0 0 8 5.500Z'/%3E%3C/svg%3E") center/22px no-repeat; border: 2px solid var(--ink); pointer-events: none; transition: opacity 0.2s; }
.shot-video.playing .play { opacity: 0; }
.shot-video { cursor: pointer; }
@media (min-width: 760px) { .shots { columns: 3; column-gap: 16px; } .shot { margin-bottom: 16px; } }
@media (min-width: 1040px) { .shots { columns: 4; } }

/* legal pages */
.legal { padding: 56px 0 80px; background: var(--white); }
.legal h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: #2c2c2a; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.note { background: var(--yellow); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; margin: 18px 0 8px; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
