@font-face{font-family:Marcellus;src:url('assets/fd2ac2e96d437325.woff2') format('woff2');font-display:swap}
@font-face{font-family:DM Sans;src:url('assets/713ca32c3c8b2ada.woff2') format('woff2');font-weight:100 1000;font-display:swap}

:root {
  color-scheme: dark;
  --background: #100d0d;
  --surface: #191413;
  --line: #3b2b26;
  --paper: #f7ebe0;
  --muted: #c4b2a8;
  --ember: #f6a581;
  --display: Marcellus, Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--background); color: var(--paper); font: 400 1rem/1.65 var(--body); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, figure, h1, h2, h3 { margin: 0; }
::selection { background: #b74d39; color: white; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(100% - 6rem, 75rem); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .75rem; left: .75rem; background: var(--paper); color: var(--background); padding: .65rem 1rem; transform: translateY(-175%); }
.skip:focus { transform: none; }

.site-header { position: sticky; z-index: 3; top: 0; background: #100d0dee; border-bottom: 1px solid #382824; backdrop-filter: blur(14px); }
.header-inner, .footer-inner { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font: 400 1.5rem/1 var(--display); letter-spacing: .015em; }
.wordmark img { object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); color: var(--muted); font-size: .9rem; font-weight: 600; }
nav a:hover { color: var(--paper); }
.nav-beta { padding: .3rem .85rem; border: 1px solid #694438; color: var(--ember); white-space: nowrap; border-radius: 3px; }

.hero { position: relative; isolation: isolate; overflow: clip; text-align: center; }
.hero-landscape { position: absolute; z-index: -1; inset: 0 0 auto; height: min(58rem, 100%); background: linear-gradient(180deg, #120b0b88, #170e0e9c 26%, #160e0e12 49%, var(--background) 100%), radial-gradient(ellipse at 50% 22%, #120a09b5 7%, transparent 75%), url('assets/workshop.webp') center 44% / cover; }
.hero-landscape::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, transparent 40%, #100d0d99 100%); }
.hero-inner { padding-top: clamp(3rem, 5.5vw, 4.6rem); position: relative; }
.eyebrow { color: var(--ember); font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker { text-shadow: 0 2px 10px #000; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.04em; }
h1 { font-size: clamp(3.65rem, 7.5vw, 6.65rem); line-height: .99; margin-top: .9rem; text-shadow: 0 3px 32px #110b09b0; }
h1 em { color: #f8b08e; font-style: normal; }
.hero-lead { color: #eddbce; font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 38rem; margin: 1.35rem auto 0; text-shadow: 0 1px 8px #080504; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 2.95rem; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: 4px; font-size: .92rem; font-weight: 750; cursor: pointer; transition: background .2s, border-color .2s; }
.primary { background: #f5a181; color: #21100d; }
.primary:hover { background: #ffc5ab; }
.secondary { background: #1c1413eb; color: var(--paper); border-color: #795144; }
.secondary:hover { background: #3b231e; border-color: var(--ember); }
.play-icon { width: .62rem; height: .7rem; clip-path: polygon(0 0, 100% 50%, 0 100%); background: var(--ember); }
.hero-preview { max-width: 65rem; margin: clamp(2rem, 4vw, 3.25rem) auto 0; }
.app-frame { transform: perspective(1600px) rotateX(var(--tilt, 0deg)) translateY(var(--lift, 0px)); transform-origin: center top; overflow: hidden; border: 1px solid #8e594a; border-radius: 10px; box-shadow: 0 14px 85px #070505, 0 0 60px #ef542b2c; background: #1b1413; }
.app-frame > img { width: 100%; height: auto; }
.frame-bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; padding: .48rem .85rem; background: #221817; color: #e2c0af; border-bottom: 1px solid #4e332d; font-size: .78rem; }
.frame-bar > :first-child { display: flex; align-items: center; gap: .3rem; font-weight: 700; }
.hero-preview figcaption { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1.15rem 0 0; color: var(--muted); font-size: .875rem; }
.caption-line { height: 1px; width: 2.5rem; background: #6c473a; }

.section { padding-block: clamp(4rem, 9vw, 7rem); }
.workspace-section { padding-bottom: clamp(4rem, 8vw, 6rem); }
.section-intro { display: grid; grid-template-columns: 1.65fr 1fr; align-items: end; gap: 1.5rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
h2 { font-size: clamp(2.85rem, 5.9vw, 5rem); line-height: 1.01; margin-top: .55rem; }
.section-intro > p { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.14rem); max-width: 24rem; padding-bottom: .25rem; }
.showcase { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 3fr); align-items: start; gap: 1.45rem; }
.tool-picker { display: grid; gap: .42rem; position: sticky; top: 5.5rem; }
.tool-picker a { position: relative; display: grid; gap: .2rem; border: 1px solid var(--line); border-radius: 4px; color: var(--paper); padding: .78rem 1rem; background: #171212; transition: background .2s, border-color .2s; }
.tool-picker a:hover { background: #271a17; border-color: #966053; }
.tool-picker a[aria-selected=true] { background: linear-gradient(100deg, #472a23, #231817); border-color: #9c5d48; }
.tool-picker a[aria-selected=true]::before { content: ''; position: absolute; top: .55rem; bottom: .55rem; inset-inline-start: 0; width: 2px; background: var(--ember); }
.tool-picker strong { font-size: 1rem; font-weight: 700; }
.tool-picker span { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.tool-panels { min-width: 0; }
.tool-panel { border: 1px solid #48332d; background: #1a1413; border-radius: 6px; overflow: hidden; }
.tool-panel + .tool-panel:not([hidden]) { margin-top: 1rem; }
.enhanced .tool-panel + .tool-panel:not([hidden]) { margin-top: 0; }
.tool-image { position: relative; display: block; overflow: hidden; }
.tool-image:focus-visible { outline-offset: -3px; }
.tool-image img { width: 100%; height: auto; transition: transform .4s ease; }
.tool-image:hover img { transform: scale(1.018); }
.tool-image span { position: absolute; right: .65rem; bottom: .65rem; background: #1d1413f5; color: #f5dfd2; border: 1px solid #895d4e; border-radius: 3px; padding: .25rem .55rem; font-size: .875rem; }
.tool-caption { border-top: 1px solid #4f342d; padding: 1.1rem 1.3rem 1.25rem; }
h3 { font-size: 1.13rem; line-height: 1.35; }
.tool-caption h3 { font: 400 clamp(1.35rem, 2.5vw, 1.9rem)/1.2 var(--display); }
.tool-caption p { margin-top: .4rem; color: var(--muted); }

.walkthrough-section { border-block: 1px solid #382621; background: radial-gradient(ellipse at 14% 0%, #301d18 0%, #181211 46%, #14100f 100%); }
.walkthrough-layout { display: grid; grid-template-columns: minmax(0, 2.7fr) minmax(13rem, 1fr); gap: clamp(1rem, 4vw, 2.5rem); align-items: center; }
.video-frame { border: 1px solid #80594d; border-radius: 6px; overflow: hidden; background: #1f1816; box-shadow: 0 15px 50px #06050477; }
.video-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #100d0d; }
.walkthrough-steps { display: grid; gap: 1.15rem; margin: 0; padding: 0 0 0 1.7rem; }
.walkthrough-steps li { padding-inline-start: .2rem; }
.walkthrough-steps li::marker { color: var(--ember); font-weight: 700; }
.walkthrough-steps p { color: var(--muted); margin-top: .28rem; }
.media-note { color: var(--muted); font-size: .875rem; margin: 1.1rem 0 0 1.9rem; }

.beta-banner { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid #402a24; padding-bottom: 2rem; }
.beta-banner p:last-child { color: var(--muted); max-width: 35rem; margin-top: .9rem; }
.beta-banner .button { white-space: nowrap; }
details { border-bottom: 1px solid #402a24; }
summary { cursor: pointer; font-weight: 700; padding: 1rem 0; }
summary:hover { color: var(--ember); }
details p { max-width: 44rem; margin: 0 0 1rem 1.15rem; color: var(--muted); }
.site-footer { border-top: 1px solid #3c2923; }
.footer-inner { padding-block: 1.15rem; }
.footer-inner p { color: var(--muted); font-size: .875rem; }

.image-dialog { max-width: min(96vw, 105rem); width: fit-content; max-height: 95vh; padding: .7rem; border: 1px solid #93614e; border-radius: 6px; background: #171110; }
.image-dialog::backdrop { background: #0a0808ee; }
.image-dialog form { display: flex; justify-content: end; margin-bottom: .55rem; }
.image-dialog img { max-height: calc(95vh - 5rem); object-fit: contain; margin-inline: auto; }

@media (max-width: 860px) {
  .container { width: min(100% - 3.2rem, 75rem); }
  .showcase, .walkthrough-layout { grid-template-columns: 1fr; }
  .tool-picker { position: static; display: flex; overflow-x: auto; padding: .3rem .3rem .65rem; margin: -.3rem; scroll-padding-inline: .3rem; }
  .tool-picker a { flex: 0 0 auto; padding: .55rem .75rem; }
  .tool-picker span { display: none; }
  .walkthrough-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 4.3rem; }
  .container { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.6rem; gap: .65rem; }
  .header-inner .wordmark { font-size: 1.25rem; gap: .35rem; }
  .header-inner .wordmark img { width: 26px; height: 26px; }
  nav { gap: .75rem; font-size: .875rem; }
  nav a:nth-child(2) { display: none; }
  .nav-beta { padding: .22rem .45rem; }
  h1 { font-size: clamp(2.55rem, 11vw, 4.05rem); }
  .hero-inner { padding-top: 3.25rem; }
  .hero-landscape { background-position: center, center, center 0; }
  .hero-preview { margin-top: 2.15rem; }
  .app-frame { transform: none; }
  .frame-bar { font-size: .75rem; padding: .35rem .5rem; }
  .section-intro { grid-template-columns: 1fr; gap: .8rem; }
  .section-intro br { display: none; }
  .walkthrough-steps { grid-template-columns: 1fr; gap: .85rem; }
  .tool-caption { padding: .9rem 1rem 1rem; }
  .tool-image span { right: .4rem; bottom: .4rem; }
  .beta-banner, .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .app-frame, .tool-image:hover img { transform: none; }
}
