:root {
  color-scheme: dark;
  --bg: #171814;
  --ink: #f5f5ed;
  --muted: #b9bbae;
  --lime: #d2f776;
  --rule: #3b3d33;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, dl, dd, ol { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
.container { width: min(80rem, calc(100% - clamp(2.5rem, 10vw, 10rem))); margin-inline: auto; }
.skip { position: fixed; top: -5rem; left: 1rem; padding: .7rem 1rem; color: var(--bg); background: var(--lime); z-index: 4; }
.skip:focus { top: 1rem; }
header { border-bottom: 1px solid var(--rule); }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 5.15rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .57rem; font-weight: 740; letter-spacing: -.065em; font-size: 1.62rem; text-decoration: none; line-height: 1; }
.brand img { flex: none; }
.brand em { color: var(--lime); font-size: .8em; font-weight: 650; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.5rem); }
nav a, .footer-login { font-size: .95rem; font-weight: 550; text-decoration: none; color: var(--muted); }
nav a:hover, .footer-login:hover { color: var(--lime); }
.sign-in { color: var(--ink); margin-left: .25rem; border: 1px solid #606352; border-radius: .35rem; padding: .65rem 1.05rem; }
.sign-in:hover { border-color: var(--lime); }
.hero { display: grid; grid-template-columns: .97fr 1.15fr; align-items: center; gap: clamp(2rem,5vw,5rem); padding-block: clamp(3.65rem,6.5vw,7.3rem) clamp(4.4rem,7vw,8rem); }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { text-wrap: balance; }
h1 { font-size: clamp(3.3rem,6.5vw,6.9rem); line-height: .99; font-weight: 760; letter-spacing: -.078em; }
h1 em, .publish-intro em { color: var(--lime); font-style: italic; }
.hero-copy > p, .publish-intro p { font-size: clamp(1.04rem,1.45vw,1.25rem); line-height: 1.58; color: var(--muted); text-wrap: pretty; }
.hero-copy > p { max-width: 32rem; margin-top: 1.65rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem; align-items: center; margin-top: 2.1rem; }
.button { background: var(--lime); color: #191c12; padding: .94rem 1.35rem; border-radius: .4rem; font-weight: 680; text-decoration: none; transition: background .15s, transform .15s; display: inline-flex; justify-content: center; }
.button:hover { background: #e2ffa0; transform: translateY(-1px); }
.text-link { text-decoration-thickness: 1px; text-underline-offset: .28em; color: var(--ink); font-size: .96rem; }
.text-link:hover { color: var(--lime); }
.edit-preview { position: relative; min-width: 0; isolation: isolate; padding: 0 2.7rem 3rem 0; }
.source-window { position: relative; border: 1px solid #5b5f4e; border-radius: .65rem; background: #22241e; overflow: hidden; box-shadow: 0 1.5rem 4rem -2rem #000; }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: #d7d9ca; padding: .72rem .85rem; font: .78rem/1.2 var(--mono); }
.sample-label { display: inline-flex; align-items: center; gap: .45rem; }
.source-icon { width: .95rem; height: .65rem; border: 1.5px solid var(--lime); border-radius: .12rem; position: relative; }
.source-icon::after { content: ""; position: absolute; top: 20%; bottom: 20%; left: 25%; width: 1.5px; background: var(--lime); }
.source-ratio { color: #b1b5a2; }
.widescreen { aspect-ratio: 16/9; overflow: hidden; background: #4b5042; }
.widescreen img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.timeline { padding: .6rem .82rem .75rem; }
.ticks { width: 100%; height: .25rem; background: repeating-linear-gradient(90deg,#969b87 0 1px,transparent 1px .85rem); opacity: .65; }
.filmstrip { position: relative; height: 1.55rem; margin-top: .2rem; border-radius: 2px; background: linear-gradient(#1115,#1115), url("assets/tabletop.webp") left center / auto 4.6rem repeat-x; }
.selected-range { position: absolute; left: 28%; width: 27%; inset-block: -1px; border: 1px solid var(--lime); border-inline-width: 3px; background: #d2f7761f; border-radius: 3px; }
.selected-range::before { content: ""; position: absolute; height: .47rem; top: -.56rem; left: -3px; border-left: 1px solid var(--lime); }
.portrait-window { position: absolute; z-index: 1; bottom: 0; right: 0; width: 26%; aspect-ratio: 9/16; overflow: hidden; border: 2px solid var(--lime); border-radius: .58rem; box-shadow: -.35rem .65rem 1.85rem #080a069c; background: #282d25; }
.portrait-mat { position: absolute; inset: -1.3rem; background: linear-gradient(#17132145,#17132166), url("assets/tabletop.webp") 63% center / cover; filter: blur(12px); }
.portrait-frame { position: absolute; width: 100%; height: auto; top: 48%; transform: translateY(-50%); }
.portrait-badge { position: absolute; z-index: 1; top: .55rem; left: .55rem; color: #1e2317; background: var(--lime); border-radius: 2px; font: 650 .76rem/1.2 var(--mono); padding: .18rem .32rem; }
.burned-caption { position: absolute; top: 70%; inset-inline: .17rem; text-align: center; font-weight: 800; line-height: 1.1; letter-spacing: -.045em; font-size: clamp(.8rem,1.3vw,1.23rem); color: white; text-shadow: 0 2px 3px #000; }
.burned-caption strong { color: var(--lime); }
.clip-rule { position: absolute; inset-inline: .62rem; bottom: .58rem; height: 2px; background: linear-gradient(to right,var(--lime) 63%,#ffffff68 63%); }
.workflow { border-block: 1px solid var(--rule); background: #1c1e18; padding-block: clamp(2.8rem,4vw,4.8rem); }
h2 { font-size: clamp(2.15rem,3.5vw,3.8rem); font-weight: 710; line-height: 1.03; letter-spacing: -.062em; }
.stages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin-top: 2.25rem; list-style: none; }
.stages li { padding-inline: clamp(1.2rem,3.65vw,3.9rem); border-left: 1px solid var(--rule); }
.stages li:first-child { padding-left: 0; border-left: 0; }
.stages li:last-child { padding-right: 0; }
.stages h3 { font-weight: 640; font-size: clamp(1.22rem,1.8vw,1.62rem); line-height: 1.2; letter-spacing: -.045em; margin: 1rem 0 .5rem; }
.stages p, .destinations dd, .join p { color: var(--muted); font-size: 1rem; line-height: 1.6; text-wrap: pretty; }
.feature-icon { display: block; position: relative; width: 1.65rem; height: 1.65rem; color: var(--lime); }
.link-icon::before,.link-icon::after { content:""; position:absolute; width:.99rem; height:.58rem; border: 2px solid; border-radius:.38rem; transform: rotate(-46deg); }
.link-icon::before { left:.02rem; top:.77rem; } .link-icon::after { left:.68rem; top:.17rem; }
.frame-icon { background: linear-gradient(currentColor,currentColor) 0 0 / .55rem 2px, linear-gradient(currentColor,currentColor) 0 0 / 2px .55rem, linear-gradient(currentColor,currentColor) 100% 0 / .55rem 2px, linear-gradient(currentColor,currentColor) 100% 0 / 2px .55rem, linear-gradient(currentColor,currentColor) 0 100% / .55rem 2px, linear-gradient(currentColor,currentColor) 0 100% / 2px .55rem, linear-gradient(currentColor,currentColor) 100% 100% / .55rem 2px, linear-gradient(currentColor,currentColor) 100% 100% / 2px .55rem; background-repeat:no-repeat; }
.frame-icon::after { content:""; position:absolute; top:.48rem; left:.7rem; border-block: .33rem solid transparent; border-left:.46rem solid; }
.crop-icon::before,.crop-icon::after { content:""; position:absolute; border:2px solid; border-radius:2px; }
.crop-icon::before { width:1rem; height:1.45rem; top:.04rem; left:.55rem; background:#1c1e18; z-index:1; }
.crop-icon::after { width:.85rem; height:1.15rem; top:.34rem; left:.1rem; }
.publishing { display:grid; grid-template-columns:.9fr 1fr; gap:clamp(2.5rem,8vw,9rem); padding-block:clamp(3.2rem,6vw,7rem); align-items:center; }
.publish-intro h2 { font-size:clamp(3rem,5vw,6rem); }
.publish-intro p { margin-top:1.08rem; max-width:32rem; }
.destinations > div { padding-block:1.15rem; border-top:1px solid var(--rule); display:grid; grid-template-columns:minmax(8.1rem,.66fr) 1fr; gap:1.15rem; align-items:baseline; }
.destinations > div:last-child { border-bottom:1px solid var(--rule); }
.destinations dt { font-weight:700; letter-spacing:-.035em; font-size:1.11rem; }
.join { display:flex; justify-content:space-between; align-items:center; gap:2.5rem; border-top:1px solid var(--rule); padding-block:clamp(2rem,3.2vw,3.5rem); }
.join h2 { font-size:clamp(1.7rem,2.7vw,2.9rem); }
.join p { margin-top:.45rem; }
.join .button { flex:none; }
footer { min-height:5.4rem; display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--rule); }
footer .brand { font-size:1.23rem; }
@media(max-width:900px) {
  .container { width:calc(100% - 3.4rem); }
  .hero { gap:1.1rem; grid-template-columns:1fr 1.05fr; }
  .edit-preview { padding-right:1.65rem; padding-bottom:2.8rem; }
  .portrait-window { width:29%; }
  .portrait-badge span { display:none; }
  .destinations > div { grid-template-columns:1fr; gap:.15rem; }
}
@media(max-width:700px) {
  .container { width:calc(100% - 2.5rem); }
  .topbar { min-height:4.25rem; }
  .brand { font-size:1.38rem; gap:.45rem; }
  .brand img { width:1.65rem; height:auto; }
  .nav-section { display:none; }
  .sign-in { font-size:.9rem; padding:.56rem .85rem; }
  .hero { grid-template-columns:1fr; padding-block:2.85rem 3rem; gap:2.5rem; }
  h1 { font-size:clamp(2.65rem,10.9vw,4.4rem); }
  .hero-copy > p { margin-top:1rem; }
  .hero-actions { margin-top:1.35rem; }
  .edit-preview { width:100%; max-width:32rem; padding:0 1.55rem 2.4rem 0; }
  .portrait-window { width:25%; }
  .viewer-head { padding:.51rem .65rem; }
  .timeline { padding:.4rem .55rem .55rem; }
  .filmstrip { height:1.05rem; }
  .stages { grid-template-columns:1fr; margin-top:1.1rem; }
  .stages li, .stages li:first-child, .stages li:last-child { display:grid; grid-template-columns:2.25rem 1fr; column-gap:.75rem; align-items:start; border:0; border-top:1px solid var(--rule); padding:1.15rem 0; }
  .stages h3 { margin:0 0 .3rem; }
  .stages p { grid-column:2; }
  .publishing { grid-template-columns:1fr; gap:1.45rem; }
  .publish-intro h2 br { display:none; }
  .publish-intro h2 br::after { content:" "; }
  .publish-intro h2 em::before { content:" "; }
  .publish-intro h2 { font-size:clamp(2.35rem,8.8vw,3.5rem); }
  .publish-intro p { margin-top:.8rem; }
  .destinations > div { grid-template-columns:minmax(7.8rem,.7fr) 1fr; gap:.7rem; }
  .join { align-items:flex-start; flex-direction:column; gap:1.05rem; }
  .join .button, .hero-actions .button { padding:.86rem 1.02rem; }
}
@media(max-width:360px) { .container { width:calc(100% - 2rem); } .destinations > div { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { :root { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; } }
