/* eteka.tv — "the screening room". Same night palette and type as the studio, so the site and the app feel like one place.
   One moving element only: the wall of real Imagine results in the hero. Everything else stays still and quiet. */
:root {
  --ink: #0E0B16;
  --raised: #17121F;
  --raised-2: #1F1929;
  --line: #2A2236;
  --line-2: #3A3047;
  --text: #F3EEF8;
  --muted: #A79DB5;
  --faint: #7A7089;
  --ember: #FF8A3D;
  --rose: #F2546B;
  --magenta: #D23C93;
  --live: #4FD1E8;
  --grad: linear-gradient(120deg, var(--ember), var(--rose) 55%, var(--magenta));
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --ui: "Figtree", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --measure: 62ch;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 17px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
::selection { background: rgba(210, 60, 147, .45); }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; border-radius: 6px; }
.sr, legend.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: 1; font-weight: 800; letter-spacing: -0.022em; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.08; }
h3 { font-size: 1.15rem; line-height: 1.25; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: var(--measure); margin-top: 18px; }
.sub { color: var(--muted); max-width: var(--measure); margin-top: 10px; }

/* Buttons: the gradient is reserved for the action that makes something. */
.btn, .ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; font: 600 15px/1 var(--ui); }
.btn { background: var(--grad); color: #fff; box-shadow: 0 6px 24px -10px rgba(242, 84, 107, .8); }
.btn:hover { filter: brightness(1.08); }
.btn.big { min-height: 52px; padding: 0 28px; font-size: 16px; }
.ghost { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.ghost:hover { background: var(--raised-2); }
.tag { display: inline-block; font: 600 12px/1 var(--ui); padding: 5px 9px; border-radius: 999px; background: var(--raised-2); color: var(--ember); vertical-align: middle; letter-spacing: 0; }

/* The studio bar: Eteka's one frame. The logo, "Make" (every tool and engine), the places to browse, and the account.
   The page under it runs edge to edge, like a screen. */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 22px; padding: 12px var(--gutter); background: rgba(14, 11, 22, .86); backdrop-filter: blur(14px); }
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 138, 61, .45) 20%, rgba(210, 60, 147, .45) 80%, transparent); }
.bar .mark img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { position: relative; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav > a:hover { color: var(--text); background: var(--raised-2); }
.nav > a[aria-current] { color: var(--text); }
.nav > a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); }
.bar-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; background: transparent; color: var(--text); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 999px; padding: 9px 14px; font: 600 14px var(--ui); cursor: pointer; }
/* The Make menu */
.apps-menu { position: relative; }
.apps-menu summary { list-style: none; cursor: pointer; color: var(--text); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.apps-menu summary::-webkit-details-marker { display: none; }
.apps-menu summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.apps-menu[open] summary, .apps-menu summary:hover { color: var(--text); background: var(--raised-2); }
.apps-panel { position: absolute; left: 0; top: calc(100% + 10px); width: min(920px, calc(100vw - 2 * var(--gutter))); display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 8px 24px; padding: 22px; background: var(--raised); border-radius: 18px; box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -30px #000; z-index: 40; }
.apps-h { color: var(--faint); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.apps-col { display: grid; align-content: start; gap: 2px; }
.apps-col a { text-decoration: none; padding: 7px 10px; border-radius: 10px; }
.apps-col a:hover { background: var(--raised-2); }
.apps-tools a { display: grid; gap: 1px; }
.apps-tools b { font-weight: 600; font-size: 15px; }
.apps-tools span { color: var(--faint); font-size: 13px; }
.apps-col .eng { color: var(--muted); font-size: 14px; padding: 5px 10px; }
.apps-col .eng:hover { color: var(--text); }
.apps-all { grid-column: 1 / -1; color: var(--muted); font-size: 14px; font-weight: 600; padding-top: 8px; border-top: 1px solid var(--line); }

/* Explore: published work, shown at its own shape (films are wide, phone videos tall). */
.x-grid { margin-top: 24px; columns: 3 300px; column-gap: 16px; }
.xc { display: block; break-inside: avoid; margin-bottom: 20px; text-decoration: none; }
.xc-media { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.xc-media img { width: 100%; height: auto; }
.xc-audio { display: block; aspect-ratio: 16 / 9; background: var(--grad); opacity: .5; }
.xc-time { position: absolute; right: 10px; bottom: 10px; font: 600 12px/1 var(--ui); padding: 5px 8px; border-radius: 6px; background: rgba(14, 11, 22, .8); }
.xc:hover .xc-media { box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -24px rgba(242, 84, 107, .7); }
.xc-title { display: block; margin-top: 10px; font: 600 1rem/1.3 var(--display); }
.xc-by { display: block; color: var(--faint); font-size: 14px; }
.xi { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 40px; padding: 40px var(--gutter) 24px; align-items: start; }
.xi-media video, .xi-media img { width: 100%; height: auto; border-radius: 16px; background: #000; }
.xi-media audio { width: 100%; }
.xi-copy h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 8px; }
.xi-by { color: var(--muted); margin-top: 10px; }
.xi-prompt { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.xi-prompt h2 { font-size: 1rem; color: var(--muted); }
.xi-prompt p { margin-top: 6px; }
.xi-report { margin-top: 22px; color: var(--faint); font-size: 14px; }

/* What you can make: a real picture of each thing, and a real video where we have one (it plays on screen). */
.mk-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.mk-tabs a { color: var(--muted); text-decoration: none; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; font-size: 15px; }
.mk-tabs a:hover { color: var(--text); }
.mk-tabs a[aria-current] { background: var(--text); color: var(--ink); box-shadow: none; }
.mk-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.mk { display: flex; flex-direction: column; text-decoration: none; border-radius: 16px; overflow: hidden; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.mk:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -24px rgba(242, 84, 107, .7); }
.mk-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.mk-media img, .mk-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-media video { opacity: 0; transition: opacity .3s; }
.mk-media video.on { opacity: 1; }
.mk-tag { position: absolute; left: 10px; top: 10px; font: 600 11px/1 var(--ui); padding: 5px 8px; border-radius: 6px; background: rgba(14, 11, 22, .75); }
.mk-tag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--rose); vertical-align: 1px; }
.mk-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.mk-body b { font: 700 1.08rem/1.25 var(--display); }
.mk-body span { color: var(--muted); font-size: 15px; }
.mk-body em { font-style: normal; font-weight: 600; font-size: 14px; margin-top: 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
.fx-cats { margin-top: 12px; }
.fx-cats button { font-size: 14px; padding: 8px 13px; }

/* Three doors + FAQ */
.door-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.door { background: var(--raised); border-radius: 20px; padding: 26px 24px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.door h3 { font-size: 1.5rem; }
.door p { color: var(--muted); margin-top: 10px; flex: 1; }
.door-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.faq-list { margin-top: 20px; max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font: 600 1.08rem/1.35 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 1.5rem/1 var(--ui); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: var(--measure); }

.ask.compact { margin-top: 26px; max-width: 760px; }
.tool-head { padding-bottom: 8px; }

/* Hero: the copy on the left, a slow wall of real results on the right. */
.hero { position: relative; min-height: min(92vh, 940px); display: flex; align-items: center; overflow: hidden; padding: 64px var(--gutter) 72px; isolation: isolate; }
.hero-in { position: relative; z-index: 2; max-width: 640px; }
.wall { position: absolute; inset: -40px -40px -40px 54%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; z-index: 0; transform: rotate(-4deg); }
.wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 2%, rgba(14, 11, 22, .55) 30%, rgba(14, 11, 22, .05) 70%), linear-gradient(0deg, var(--ink), transparent 18%, transparent 82%, var(--ink)); }
.col { display: flex; flex-direction: column; gap: 14px; animation: drift 90s linear infinite; }
.col.c1, .col.c3 { animation-direction: reverse; animation-duration: 110s; }
.tile { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--raised); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.ask { margin-top: 32px; background: rgba(23, 18, 31, .92); border-radius: 22px; padding: 14px; box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(210, 60, 147, .5); }
.ask-kind { border: 0; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ask-kind label { cursor: pointer; }
.ask-kind input { position: absolute; opacity: 0; pointer-events: none; }
.ask-kind span { display: inline-block; padding: 7px 13px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; }
.ask-kind input:checked + span { background: var(--raised-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.ask-kind input:focus-visible + span { outline: 2px solid var(--live); outline-offset: 2px; }
.ask textarea { width: 100%; resize: vertical; min-height: 92px; background: transparent; border: 0; color: var(--text); font: 18px/1.5 var(--ui); padding: 10px 8px; }
.ask textarea::placeholder { color: var(--faint); }
.ask textarea:focus { outline: none; }
.ask:focus-within { box-shadow: 0 0 0 1px var(--rose), 0 30px 80px -30px rgba(210, 60, 147, .6); }
.ask-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 2px 8px; }
.ask-note { color: var(--faint); font-size: 14px; }
.proof { margin-top: 22px; color: var(--muted); font-size: 15px; }
.proof a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* Sections */
.band { padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.band:last-of-type { padding-bottom: clamp(56px, 8vw, 104px); }
.head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.more { color: var(--muted); font-weight: 600; font-size: 15px; text-underline-offset: 4px; }
.more:hover { color: var(--text); }
.page-head { padding: clamp(48px, 7vw, 96px) var(--gutter) 0; }
.page-head .btn, .page-head .stores { margin-top: 28px; }
.crumb { color: var(--faint); font-size: 14px; margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.note p, .fine { color: var(--faint); font-size: 14px; max-width: 80ch; }
.fine { margin-top: 22px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.two p { color: var(--muted); margin-top: 12px; max-width: var(--measure); }
.two .ghost { margin-top: 18px; }
.two h2 + p + h2 { margin-top: 32px; }

/* How it's made: a real sequence, so it's numbered. */
.how { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.how h2 { grid-column: 1 / -1; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 26px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: span 2; font: 800 2.2rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps p { color: var(--muted); margin-top: 4px; }
.shots { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 190px)); justify-content: end; gap: 14px; align-items: start; }
.shots img { border-radius: 22px; box-shadow: 0 0 0 1px var(--line); }
.shots img:nth-child(2) { margin-top: 40px; }

/* Engines as film credits: names set large, makers small. */
.credits { margin-top: 36px; display: grid; gap: 34px; }
.credit-group h3 { color: var(--faint); font: 600 14px/1 var(--ui); letter-spacing: 0; margin-bottom: 14px; }
.credit-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 30px; }
.credit-group a { text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; padding: 4px 0; }
.credit-group b { font: 700 clamp(1.4rem, 2.6vw, 2.1rem)/1.15 var(--display); letter-spacing: -0.02em; }
.credit-group span { color: var(--faint); font-size: 14px; }
.credit-group a:hover b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.engine-list { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 1px solid var(--line); }
.engine { display: grid; gap: 4px; padding: 22px 20px 22px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.engine:hover .e-name { color: var(--ember); }
.e-name { font: 700 1.5rem/1.15 var(--display); letter-spacing: -0.02em; }
.e-maker { color: var(--faint); font-size: 14px; }
.e-what, .e-ver { color: var(--muted); font-size: 15px; }
.e-what { margin-top: 8px; }
.e-price { color: var(--text); font-size: 15px; font-weight: 600; margin-top: 6px; }
.engine-list.compact .e-name { font-size: 1.2rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.filters button { background: transparent; color: var(--muted); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 999px; padding: 9px 16px; font: 500 15px/1 var(--ui); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--ink); box-shadow: none; }
.engine-head .head-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.engine-head .head-cta .btn { margin: 0; }
.from { color: var(--muted); }
.vers { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 15px; }
.vers th, .vers td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.vers thead th { color: var(--faint); font-weight: 500; font-size: 14px; }
.vers tbody th { font-weight: 600; }
.vers td { color: var(--muted); }

/* Imagine effect cards: portrait, quiet until hovered. */
.fx-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px 14px; }
.fx { text-decoration: none; display: block; }
.fx-media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--raised); }
.fx-media img, .fx-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-media video { opacity: 0; transition: opacity .25s; }
.fx-media video.on { opacity: 1; }
.fx-kind { position: absolute; left: 8px; top: 8px; font: 600 11px/1 var(--ui); padding: 5px 7px; border-radius: 6px; background: rgba(14, 11, 22, .72); color: var(--text); }
.fx[data-live="live"] .fx-kind::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--rose); vertical-align: 1px; }
.fx-band[hidden], .glide-band[hidden], .fx[hidden] { display: none !important; }
/* "New this week" glides left to right; it stops while you point at it or tab into it. */
.glide { margin-top: 20px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.glide-track { display: flex; gap: 14px; width: max-content; animation: glide 70s linear infinite; }
.glide-track .fx { width: 190px; flex: none; }
.glide:hover .glide-track, .glide:focus-within .glide-track { animation-play-state: paused; }
@keyframes glide { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.fx-title { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.fx:hover .fx-title { color: var(--text); }

.effect { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(40px, 6vw, 80px) var(--gutter) 0; align-items: center; }
.effect-media { border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--raised); box-shadow: 0 40px 100px -40px rgba(210, 60, 147, .55); }
.effect-media video, .effect-media img { width: 100%; height: 100%; object-fit: cover; }
.effect-copy .btn { margin-top: 28px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: rotate(-45deg); }
.ticks.small { font-size: 15px; margin-top: 26px; }

/* Use cases */
.use-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.use { text-decoration: none; }
.use img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.use h3 { margin-top: 14px; }
.use p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.use:hover h3 { color: var(--ember); }

/* Pricing */
.price-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.price-teaser .btn { margin-top: 24px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.plan, .pack { background: var(--raised); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); }
.plan.star { box-shadow: inset 0 0 0 1px var(--rose), 0 30px 70px -40px rgba(242, 84, 107, .7); }
.amount { font: 800 2.2rem/1 var(--display); margin-top: 16px; letter-spacing: -0.03em; }
.amount small { font: 500 15px var(--ui); color: var(--muted); letter-spacing: 0; }
.dia { color: var(--text); margin-top: 8px; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; flex: 1; }
.plan .btn { align-self: stretch; }
.packs { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.pack .btn { margin-top: 18px; }
.pack .paypal { margin-top: 8px; }
.pack .amount { font-size: 1.8rem; }

.api-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px clamp(28px, 5vw, 72px); }
.api-grid p { color: var(--muted); margin-top: 10px; max-width: var(--measure); }

.cta-band { text-align: left; }
.cta-band .btn { margin-top: 22px; }

/* Footer */
.foot { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); padding: 48px var(--gutter) 40px; color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid img { height: 46px; width: auto; margin-bottom: 14px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav h2 { font: 600 14px/1 var(--ui); color: var(--faint); letter-spacing: 0; margin-bottom: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .apps { margin-top: 8px; }
.foot .apps a { text-decoration: underline; text-underline-offset: 3px; }
.legal { margin-top: 40px; font-size: 13px; color: var(--faint); max-width: 110ch; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .bar-cta { order: 2; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 18px; background: var(--raised); box-shadow: 0 30px 60px -30px #000; }
  .nav.open { display: flex; }
  .nav > a { padding: 12px 10px; border-radius: 10px; }
  .nav > a[aria-current]::after { left: 10px; right: auto; width: 24px; bottom: 6px; }
  .wall { inset: -40px -60px -40px 20%; opacity: .55; }
  .how, .two, .price-teaser, .effect, .api-grid, .door-grid, .xi { grid-template-columns: 1fr; }
  .apps-menu summary { box-shadow: none; padding: 12px 10px; }
  .apps-panel { position: static; width: auto; grid-template-columns: 1fr; padding: 4px 0 8px; box-shadow: none; background: transparent; }
  .apps-col:not(.apps-tools) { display: none; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar { gap: 12px; }
  .bar-cta .ghost { display: none; }
  .wall { inset: -40px -80px -40px 0; opacity: .3; grid-template-columns: repeat(3, 1fr); }
  .wall .c3 { display: none; }
  .use-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ask-foot { flex-direction: column; align-items: stretch; }
  .ask-note { order: 2; text-align: center; }
  .fx-grid { grid-template-columns: repeat(2, 1fr); }
  .vers thead { display: none; }
  .vers tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .vers th, .vers td { border: 0; padding: 2px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .col { animation: none; }
  .glide { overflow-x: auto; mask-image: none; }
  .glide-track { animation: none; }
  .fx-media video, .mk-media video { display: none; }
}
