:root {
  --ink: #0b0b0c;
  --panel: #141416;
  --panel-2: #1b1b1f;
  --paper: #f4f1e8;
  --muted: #a6a4a0;
  --signal: #f2a900;
  --blue: #79b8ff;
  --line: #2b2b30;
  --danger: #ff827a;
  --success: #79d6a5;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 20; padding: .75rem 1rem; color: var(--ink); background: var(--signal); }
.skip-link:focus { top: 1rem; }

.site-header, footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.site-header { min-height: 76px; border-bottom: 1px solid var(--line); gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; font-family: var(--display); font-size: .92rem; font-weight: 700; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: block; flex: 0 0 auto; }
.site-header nav { display: flex; gap: 1.5rem; margin-left: auto; }
.site-header nav a, footer nav a { color: var(--muted); font-size: .8rem; text-decoration: none; }
.site-header nav a:hover, footer nav a:hover { color: var(--paper); }
.header-note { margin-left: 1rem; padding-left: 2rem; border-left: 1px solid var(--line); color: var(--success); font-size: .75rem; }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 660px;
  margin: 0 auto;
  padding: 78px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  align-items: center;
  gap: 7vw;
}
.availability { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; color: var(--blue); font-size: .78rem; font-weight: 600; }
.availability span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgb(121 184 255 / 10%); }
h1, h2, h3 { font-family: var(--display); }
h1 { max-width: 700px; margin: 0; font-size: clamp(3.5rem, 7.4vw, 7rem); line-height: .88; letter-spacing: -.075em; }
.hero-lede { max-width: 610px; margin: 2rem 0 2.3rem; color: #c2bfba; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; }
.download-form { max-width: 700px; }
.download-form label { display: block; margin-bottom: .55rem; color: var(--paper); font-size: .76rem; font-weight: 700; }
.input-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; min-height: 62px; padding: 5px; border: 1px solid #44444b; background: #111113; }
.input-row:focus-within { border-color: var(--signal); box-shadow: 0 0 0 3px rgb(242 169 0 / 12%); }
.input-icon { color: var(--signal); text-align: center; }
.input-row input { width: 100%; min-width: 0; padding: .75rem 0; color: var(--paper); background: transparent; border: 0; outline: 0; }
.input-row input::placeholder { color: #68686f; }
.input-row button, .final-cta a { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 1.25rem; color: #171205; background: var(--signal); border: 0; font-weight: 800; text-decoration: none; cursor: pointer; }
.input-row button:hover, .final-cta a:hover { background: #ffba1a; }
.input-row button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.form-hint, .form-status { margin: .65rem 0 0; font-size: .74rem; }
.form-hint { color: #79777a; }
.form-status { min-height: 1.25rem; color: var(--success); }
.form-status.is-error { color: var(--danger); }
.quick-facts { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: 1.25rem; color: #8e8c88; font-size: .72rem; }
.quick-facts span::before { content: "✓"; margin-right: .4rem; color: var(--success); }

.hero-visual { min-height: 470px; position: relative; display: grid; place-items: center; isolation: isolate; }
.signal-grid { position: absolute; inset: 0; z-index: -2; opacity: .38; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle, #000 25%, transparent 72%); }
.source-ticket { width: min(330px, 76%); position: absolute; top: 32px; left: 2%; padding: 14px; color: #141416; background: var(--paper); transform: rotate(-4deg); box-shadow: 18px 22px 0 #000; }
.ticket-top { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #bbb6aa; font: 700 .65rem var(--display); letter-spacing: .1em; }
.post-author { display: flex; align-items: center; gap: .7rem; padding: 14px 0 10px; font: 600 .78rem var(--display); line-height: 1.2; }
.post-author small { color: #716d65; font: 400 .7rem var(--body); }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; color: white; background: #111; }
.post-media { height: 150px; position: relative; display: grid; place-items: center; overflow: hidden; color: white; background: #161618; }
.post-media video { width: 100%; height: 100%; display: block; object-fit: cover; }
.loop { position: absolute; left: 9px; bottom: 8px; font: 700 .58rem var(--display); letter-spacing: .1em; }
.ticket-source { display: block; margin-top: 10px; color: #5d5951; font-size: .62rem; font-weight: 700; text-decoration: none; }
.ticket-source:hover { color: #111; }
.transfer-line { width: 44%; position: absolute; top: 53%; left: 32%; display: flex; align-items: center; justify-content: space-between; transform: rotate(10deg); }
.transfer-line::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--signal); box-shadow: 0 0 18px var(--signal); }
.transfer-line span { width: 9px; height: 9px; z-index: 1; background: var(--ink); border: 2px solid var(--signal); border-radius: 50%; }
.file-ticket { width: min(340px, 80%); position: absolute; right: 0; bottom: 44px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 16px; background: #1a1a1e; border: 1px solid #45454d; transform: rotate(3deg); box-shadow: 14px 18px 0 #000; }
.file-type { width: 48px; height: 54px; display: grid; place-items: end center; padding-bottom: 7px; color: #111; background: var(--signal); clip-path: polygon(0 0, 70% 0, 100% 25%, 100% 100%, 0 100%); font: 800 .65rem var(--display); }
.file-ticket strong, .file-ticket span { display: block; }
.file-ticket strong { overflow: hidden; font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
.file-ticket div span { color: var(--success); font-size: .66rem; }
.download-glyph { color: var(--signal); font-size: 1.6rem; }
.format-note { position: absolute; right: 3%; top: 46%; margin: 0; color: #77757a; font-size: .64rem; line-height: 1.4; transform: rotate(3deg); }

.definition-strip { border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 24px max(20px, calc((100vw - 1180px) / 2)); background: #101012; }
.definition-strip p { margin: 0; color: #aaa7a2; font-size: .8rem; }
.definition-strip strong { color: var(--paper); }
.definition-strip a { flex: 0 0 auto; color: var(--signal); font-size: .75rem; }
.content-section { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.section-heading { max-width: 780px; margin-bottom: 54px; }
.section-heading > p, .section-kicker { margin: 0 0 .8rem; color: var(--signal); font-size: .72rem; font-weight: 700; }
.section-heading h2, .explainer-copy h2, .faq-intro h2, .final-cta h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.055em; }
.section-heading > span { display: block; margin-top: 1rem; color: var(--muted); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 1px; background: var(--line); }
.steps li { min-height: 230px; padding: 28px; background: var(--panel); }
.step-number { display: inline-grid; width: 32px; height: 32px; place-items: center; margin-bottom: 40px; color: var(--ink); background: var(--signal); font: 800 .8rem var(--display); }
.steps h3, .use-case-grid h3 { margin: 0 0 .55rem; font-size: 1.1rem; }
.steps p, .use-case-grid p { margin: 0; color: var(--muted); font-size: .84rem; }
.trending-gifs { width: min(1180px, calc(100% - 40px)); }
.trend-heading { max-width: none; display: grid; grid-template-columns: 1fr minmax(260px, 380px); align-items: end; gap: 3rem; }
.trend-heading > span { margin: 0; padding-bottom: .35rem; font-size: .8rem; }
.trend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trend-card { min-width: 0; background: var(--panel); border: 1px solid var(--line); }
.trend-media { aspect-ratio: 1 / 1; position: relative; display: block; overflow: hidden; background: #080809; }
.trend-media::after { content: "VIEW ON X ↗"; position: absolute; right: 12px; bottom: 12px; padding: 6px 8px; color: #111; background: var(--signal); font: 800 .57rem var(--display); letter-spacing: .08em; opacity: 0; transform: translateY(6px); transition: .2s ease; }
.trend-media:hover::after { opacity: 1; transform: translateY(0); }
.trend-media video { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.trend-media:hover video { transform: scale(1.025); }
.trend-media > span { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--paper); font: 800 .7rem var(--display); }
.trend-meta { padding: 20px; }
.trend-meta > p { margin: 0 0 .55rem; color: var(--signal); font-size: .63rem; font-weight: 800; letter-spacing: .09em; }
.trend-meta h3 { min-height: 2.8em; margin: 0 0 1.4rem; font-size: 1.05rem; line-height: 1.35; }
.trend-meta > div { display: flex; justify-content: space-between; gap: 1rem; padding-top: 14px; border-top: 1px solid var(--line); font-size: .68rem; }
.trend-meta a { color: #d4d0c7; text-decoration: none; }
.trend-meta a:hover { color: var(--signal); }
.trend-meta span { color: var(--muted); }
.explainer-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: center; border-top: 1px solid var(--line); }
.format-diagram { min-height: 300px; position: relative; display: flex; align-items: center; gap: 1rem; padding: 2rem; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.format-diagram::before { content: ""; position: absolute; width: 230px; height: 230px; right: -80px; bottom: -90px; border: 1px solid #3e3e45; border-radius: 50%; box-shadow: 0 0 0 30px #17171a, 0 0 0 31px #36363d, 0 0 0 60px #17171a, 0 0 0 61px #303036; }
.format-badge { width: 75px; height: 92px; z-index: 1; display: grid; place-items: end center; padding-bottom: 14px; color: #66646a; border: 1px solid #4a4a52; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); font: 800 .8rem var(--display); }
.format-badge.active { color: var(--ink); background: var(--signal); border-color: var(--signal); }
.format-arrow { z-index: 1; color: #77757a; font-size: .65rem; }
.explainer-copy > p:not(.section-kicker) { max-width: 650px; color: #aaa7a2; font-size: .92rem; }
.explainer-copy h2 { margin-bottom: 1.5rem; font-size: clamp(2.1rem, 4.5vw, 4rem); }
.use-cases { border-top: 1px solid var(--line); }
.section-heading.compact { margin-bottom: 45px; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.use-case-grid article { min-height: 220px; padding: 30px; border-right: 1px solid var(--line); }
.use-case-grid article:last-child { border-right: 0; }
.use-case-grid article > span { display: block; margin-bottom: 64px; color: var(--signal); font: 600 .72rem var(--display); }
.rights-note { margin: 24px 0 0; color: #706e72; font-size: .7rem; }
.faq-section { display: grid; grid-template-columns: .76fr 1.24fr; gap: 7vw; border-top: 1px solid var(--line); }
.faq-intro h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.faq-intro > p:last-child { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 40px 22px 0; position: relative; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; color: var(--signal); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -5px 0 22px; padding-right: 38px; color: var(--muted); font-size: .84rem; }
.faq-list code { color: var(--blue); }
.final-cta { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: 80px max(20px, calc((100vw - 1080px) / 2)); color: var(--ink); background: var(--paper); }
.final-cta p { margin: 0; font-size: .78rem; font-weight: 700; }
.final-cta h2 { margin-top: .5rem; }
.final-cta a { min-width: 200px; }
footer { min-height: 150px; gap: 2rem; }
.footer-brand { margin-right: auto; }
footer > p { color: #6f6d72; font-size: .7rem; }
footer nav { display: flex; gap: 1.2rem; }

@media (max-width: 860px) {
  .site-header nav, .header-note { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 58px; gap: 42px; }
  .hero-visual { min-height: 430px; }
  .source-ticket { left: 5%; }
  .steps, .use-case-grid { grid-template-columns: 1fr; }
  .trend-heading { grid-template-columns: 1fr; gap: 1rem; }
  .trend-grid { grid-template-columns: 1fr 1fr; }
  .steps li { min-height: 0; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; }
  .step-number { margin: 0; }
  .use-case-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .use-case-grid article:last-child { border-bottom: 0; }
  .use-case-grid article > span { margin-bottom: 28px; }
  .explainer-section, .faq-section { grid-template-columns: 1fr; }
  .final-cta { align-items: start; flex-direction: column; }
  footer { padding: 2rem 0; align-items: start; flex-direction: column; }
  footer > p { margin: 0; }
}

@media (max-width: 560px) {
  .site-header, .hero, .content-section, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 66px; }
  h1 { font-size: clamp(3.15rem, 17vw, 5rem); }
  .hero-lede { margin-top: 1.5rem; }
  .input-row { grid-template-columns: 38px 1fr; }
  .input-row button { grid-column: 1 / -1; width: 100%; }
  .hero-visual { min-height: 390px; }
  .source-ticket { width: 82%; top: 20px; }
  .post-media { height: 126px; }
  .file-ticket { width: 88%; bottom: 22px; }
  .format-note { display: none; }
  .definition-strip { align-items: start; flex-direction: column; gap: .5rem; }
  .content-section { padding: 78px 0; }
  .trending-gifs { width: min(100% - 28px, 1180px); }
  .trend-grid { grid-template-columns: 1fr; }
  .trend-media { aspect-ratio: 4 / 3; }
  .section-heading { margin-bottom: 36px; }
  .format-diagram { min-height: 230px; padding: 1rem; }
  .format-arrow { max-width: 75px; text-align: center; }
  .faq-list p { padding-right: 0; }
  footer nav { flex-wrap: wrap; }
}

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