/* Home page */

/* ── hero ── */
.hero { height: 100svh; min-height: 680px; max-height: 1100px; overflow: hidden; background: var(--surface); display: grid; place-items: center; isolation: isolate; }
.field { position: absolute; inset: 0; z-index: 0; }
.tl { position: absolute; left: 0; top: 0; background: var(--white) center/cover no-repeat; border-radius: var(--r); overflow: hidden; will-change: transform; transform-origin: center; }
.tl > video, .tl > img, .tl > canvas:not(.veil) { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl > canvas.veil { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; z-index: 2; pointer-events: none; }
.tl.far { box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.tl.far.dot, .tl.dot { background: var(--lime); border-radius: 0; filter: none; }
.tl.mid { box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.tl.near { box-shadow: 0 18px 40px -22px rgba(10,10,11,.35); }
.tl-cap { position: absolute; left: 8px; bottom: 8px; z-index: 3; display: none; padding: 5px 8px; background: var(--ink); color: var(--white); font: 400 10.5px/1.25 var(--mono); letter-spacing: .02em; border-radius: 2px; max-width: calc(100% - 16px); }
.tl-cap b { font-weight: 400; color: var(--lime); display: block; }
.tl:hover .tl-cap { display: block; }

.hero-c { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; width: min(920px, calc(100vw - 2 * var(--gut))); pointer-events: none; }
.hero-c > * { pointer-events: auto; }
.hero-mark { width: 48px; height: 48px; image-rendering: pixelated; margin-bottom: 22px; }
.hero-c .d1 { font-size: clamp(48px, 7.6vw, 120px); }
.hero-c .lead { max-width: 560px; margin-top: 26px; color: #3D3D40; }
.hero-a { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.hero-foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 22px; z-index: 2; display: flex; justify-content: space-between; pointer-events: none; }
@media (max-width: 760px) {
  .hero { min-height: 640px; }
  .hero-c .lead { font-size: 16px; }
  .hero-foot { display: none; }
}

/* ── bottleneck ── */
.neck .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.neck .lead { color: var(--muted); max-width: 590px; margin-top: 22px; }
.neck .wrap { grid-template-columns: 1fr minmax(0, 1fr); }
.gen { margin: 0; justify-self: end; width: min(680px, 100%); }
.gen canvas { width: 100%; aspect-ratio: 4 / 3; cursor: crosshair; }
.gen-cap { margin-top: 6px; min-height: 1.4em; color: #4A4A4D; text-transform: none; letter-spacing: .02em; }
@media (max-width: 860px) { .neck .wrap { grid-template-columns: 1fr; } .gen { justify-self: center; width: min(420px, 100%); } }

/* ── ask in chat ── */
.ask { background: var(--white); }
.ask h2 { text-align: center; max-width: 820px; margin-inline: auto; }
.apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 64px; }
.app { background: var(--white); padding: 26px 22px 28px; display: flex; flex-direction: column; gap: 10px; min-height: 172px; position: relative; }
.app svg { width: 26px; height: 26px; fill: var(--ink); }
.app h3 { margin: 6px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.app p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.app::after { content: ''; position: absolute; right: 0; top: 0; width: 8px; height: 8px; background: var(--lime); transform: scale(0); transition: transform .16s steps(2); }
.app:hover::after { transform: scale(1); }
@media (max-width: 1000px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .app { padding: 20px 16px; min-height: 0; } }

/* ── section heads ── */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.sec-head .lead { max-width: 560px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }
video { background: transparent; }

/* ── already running ── */
.moments { background: var(--white); }
.mo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.mo-v { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.mo-v video { width: 100%; height: 100%; object-fit: cover; }
.mo .lbl { margin: 18px 0 8px; }
.mo h3 { margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.mo p:last-child { margin: 10px 0 0; color: var(--muted); max-width: 520px; }
.mo-more { margin-top: 40px; }
@media (max-width: 760px) { .mo-grid { grid-template-columns: 1fr; } }

/* ── try it ── */
.try .lead { color: #A3A3A6; }
.ti { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 40px; align-items: start; }
.ti-ctl { display: flex; flex-direction: column; gap: 16px; }
.ti-f { display: grid; gap: 8px; }
.ti-f .lbl { color: #8B8B8E; }
.ti-n { min-height: 1.3em; margin-top: -2px; color: #6E6E70; font: 400 12px/1.3 var(--mono); }
.ti-n:empty { display: none; }
.ti-n.bad { color: var(--white); }
.ti-n.bad::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .5em; background: var(--lime); }
.ti-f textarea, .ti-f input { width: 100%; resize: none; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--graphite); color: var(--white); font: 500 17px/1.35 var(--sans); }
.ti-f textarea:focus, .ti-f input:focus { outline: 2px solid var(--lime); outline-offset: 0; border-color: transparent; }
.ti-say { display: flex; flex-wrap: wrap; gap: 6px; }
.ti-say button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: #CFCFD2; font: 400 13px/1.2 var(--mono); cursor: pointer; }
.ti-say button:hover { border-color: var(--lime); color: var(--lime); }
.ti-drop { position: relative; display: grid; place-items: center; min-height: 92px; border: 1.5px dashed var(--line); border-radius: var(--r); color: #8B8B8E; font: 400 13px var(--mono); cursor: pointer; background: center / cover no-repeat var(--img, none); }
.ti-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ti-drop.over { border-color: var(--lime); color: var(--lime); }
.ti-drop.has span { background: rgba(10,10,11,.7); padding: 4px 8px; color: var(--white); }
.ti-drop.has span::before { content: 'Image added · '; }
.ti-ctl .btn { align-self: flex-start; }
.ti-shape { margin: 0; min-height: 1.4em; color: var(--lime); font-size: 13px; }
.ti-note { margin: 0; color: #6E6E70; font-size: 13px; }
/* the card is a sheet on the ink: a hairline outline shows its edge, whatever its colours */
.ti-out { display: grid; grid-template-columns: auto 128px; gap: 16px; align-items: start; justify-content: start; }
.ti-stage { grid-row: 1; }
.ti-out canvas#tiBig { display: block; height: min(74svh, 640px); width: auto; aspect-ratio: 3 / 4; border-radius: 2px; background: var(--graphite); box-shadow: 0 0 0 1px rgba(255, 255, 255, .24); }
.ti-thumbs { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ti-th { padding: 0; border: 0; background: none; color: #8B8B8E; text-align: left; cursor: pointer; font: 400 12px/1.3 var(--mono); }
.ti-th canvas { width: 100%; aspect-ratio: 3 / 4; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); margin-bottom: 6px; }
.ti-th[aria-pressed="true"] canvas { box-shadow: 0 0 0 2px var(--lime); }
.ti-th[aria-pressed="true"] { color: var(--white); }
.ti-dl { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.ti-dl .lbl { color: #6E6E70; margin-left: 6px; }
.btn.ghost { color: inherit; }
@media (max-width: 960px) { .ti { grid-template-columns: 1fr; } .ti-out { grid-template-columns: 1fr; } .ti-out canvas#tiBig { width: 100%; height: auto; } .ti-thumbs { grid-template-columns: repeat(3, 1fr); } }

/* ── features: six tabs, two rows; the frame shows the film of the item that is on ── */
.feats { background: var(--white); }
.ft-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: 36px 0; border-top: 1px solid var(--rule); }
.ft-row.rev .ft-m { order: 2; }
.ft-m { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.ft-m video { width: 100%; height: 100%; object-fit: cover; }
.ft-items { display: grid; gap: 4px; }
.ft { position: relative; display: block; width: 100%; text-align: left; padding: 16px 18px 18px; border: 0; border-radius: var(--r); background: transparent; cursor: pointer; overflow: hidden; }
.ft svg { width: 22px; height: 22px; fill: #9A9A9D; shape-rendering: crispEdges; }
.ft h3 { margin: 10px 0 4px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #6E6E70; }
.ft p { margin: 0; color: #8A8A8D; font-size: 15px; line-height: 1.5; display: none; }
.ft:hover h3 { color: var(--ink); }
.ft[aria-selected="true"] { background: var(--surface); }
.ft[aria-selected="true"] svg { fill: var(--ink); }
.ft[aria-selected="true"] h3 { color: var(--ink); }
.ft[aria-selected="true"] p { display: block; color: var(--muted); }
.ft-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; display: none; }
.ft[aria-selected="true"] .ft-bar { display: block; }
.ft:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
@media (max-width: 860px) { .ft-row { grid-template-columns: 1fr; } .ft-row.rev .ft-m { order: 0; } }

/* ── what you can create ── */
.mk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mk { display: flex; flex-direction: column; padding: 14px 14px 22px; background: var(--white); border-radius: var(--r); }
.mk-m { aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: var(--surface); }
.mk-m video { width: 100%; height: 100%; object-fit: cover; }
.mk h3 { margin: 18px 6px 10px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.mk ul { margin: 0 6px 18px; padding: 0; list-style: none; display: grid; gap: 7px; }
.mk li { position: relative; padding-left: 18px; color: #3D3D40; font-size: 15px; line-height: 1.4; }
.mk li::before { content: ''; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--lime); }
.mk .link { margin: auto 6px 0; }
@media (max-width: 960px) { .mk-grid { grid-template-columns: 1fr; } }

/* ── statement, full-bleed film, call ── */
.stmt .d2 .muted { color: #B5B5B8; }
.stmt .lead { margin-top: 28px; max-width: 640px; }
/* how we start: three steps above the contact line */
.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.st { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 18px 16px; padding-top: 22px; border-top: 1px solid var(--rule); }
.st .num { font: 500 13px/1 var(--mono); color: #6E6E70; padding-top: 4px; }
.st svg { width: 32px; height: 32px; fill: var(--ink); justify-self: end; shape-rendering: crispEdges; }
.st h3, .st p { grid-column: 1 / -1; margin: 0; }
.st h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.st p { color: #4A4A4D; font-size: 16px; line-height: 1.5; max-width: 30em; }
@media (max-width: 860px) { .st-grid { grid-template-columns: 1fr; } }
.cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.cta .lead { color: #3D4A17; margin-top: 22px; max-width: 520px; }
.cta canvas { width: min(300px, 40vw); aspect-ratio: 1; image-rendering: pixelated; }
.cta .btn.ghost { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (max-width: 760px) { .cta-in { grid-template-columns: 1fr; } .cta canvas { width: 160px; } }

.ti button:focus-visible, .ti textarea:focus-visible, .ti input:focus-visible, .btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.ink .btn:focus-visible { outline-color: var(--white); }
.ti-bg { display: flex; flex-wrap: wrap; gap: 6px; }
.ti-bg button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: #CFCFD2; font: 400 13px/1 var(--mono); cursor: pointer; }
.ti-bg button i { width: 20px; height: 20px; border-radius: 50%; display: block; }
.ti-bg button[aria-checked="true"] { border-color: var(--lime); color: var(--white); }

/* ── the bottleneck band: no grey, the hero's field runs on into white (variant C, chosen 14 Oct) ── */
.neck { background: var(--surface); padding-block: clamp(40px, 5vw, 80px) clamp(16px, 2vw, 32px); }
.ask { background: linear-gradient(var(--surface), var(--white) 140px); padding-top: clamp(40px, 4vw, 64px); }

/* the bottleneck section: the three ideas the whole site stands on */
.neck .d3 { max-width: 620px; }
.neck-pts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 590px; }
.neck-pts li { position: relative; padding-left: 22px; color: #3D3D40; font-size: 16px; line-height: 1.5; }
.neck-pts li::before { content: ''; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.neck-pts b { color: var(--ink); font-weight: 600; }
.neck-more { margin-top: 26px; }
