/* TwinWorks home: styles of the Build anything scroll story, scoped to #build-anything so the sections below keep the site's own styles. */
#build-anything {
  --ink: #0a0a0b; --ink-2: #52525b; --ink-3: #67676f; --paper: #fff; --paper-2: #f6f6f4; --stage: #f5f4f0; --line: #e7e7e2; --line-strong: #d6d6cf;
  --accent: #0069d8; --accent-soft: #edf6ff; --good: #0a7a43; --band: #0a0a0b; --band-2: #151517; --band-ink: #fff; --band-mute: #a6a6ae; --band-line: rgba(255,255,255,.12);
  --nav: rgba(255,255,255,.82); --card: #fff; --shadow: 0 1px 2px rgba(10,10,11,.04), 0 12px 32px rgba(10,10,11,.08);
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 20px; --max: 1200px;
}
@media (prefers-color-scheme: dark) {
  #build-anything {
  --ink: #f4f4f5; --ink-2: #b6b6be; --ink-3: #9a9aa3; --paper: #0c0c0e; --paper-2: #151518; --stage: #18181b; --line: #29292d; --line-strong: #3a3a40;
  --accent: #5aa9ff; --accent-soft: #10253b; --good: #5fd093; --band: #050506; --band-2: #17171a; --nav: rgba(20,20,23,.82); --card: #1a1a1d; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.4); color-scheme: dark;
}
}
#build-anything *, #build-anything *::before, #build-anything *::after { box-sizing: border-box; }
#build-anything { scroll-behavior: auto; }
#build-anything { margin: 0; background: var(--paper); color: var(--ink); font: 300 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
#build-anything h1, #build-anything h2, #build-anything h3, #build-anything h4, #build-anything p, #build-anything ul, #build-anything ol, #build-anything dl, #build-anything dd, #build-anything figure { margin: 0; padding: 0; }
#build-anything ul, #build-anything ol { list-style: none; }
#build-anything a { color: inherit; text-decoration: none; }
#build-anything img { max-width: 100%; display: block; }
#build-anything button, #build-anything input { font: inherit; color: inherit; }
#build-anything :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
#build-anything .wrap { width: 100%; max-width: calc(var(--max) + 48px); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
#build-anything .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
#build-anything .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
#build-anything .display { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
#build-anything .display .dim, #build-anything h2 .dim, #build-anything h1 .dim { color: var(--ink-3); }
#build-anything .h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -.045em; font-weight: 550; text-wrap: balance; }
#build-anything .h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
#build-anything .lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
#build-anything .small { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
#build-anything .center { text-align: center; }
#build-anything .center .lead { margin-inline: auto; }
#build-anything .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
#build-anything .btn:hover { transform: translateY(-1px); }
#build-anything .btn-ink { background: var(--ink); color: var(--paper); }
#build-anything .btn-line { border-color: var(--line-strong); background: var(--card); color: var(--ink); }
#build-anything .on-dark .btn-ink { background: #fff; color: #0a0a0b; }
#build-anything .on-dark .btn-line { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.26); }
#build-anything .cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#build-anything .center .cta { justify-content: center; }
#build-anything .story { position: relative; height: 2800vh; background: var(--story-bg, #fff); }
#build-anything .story-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--story-bg, #fff); transition: background-color .28s linear; }
#build-anything .story-glow { position: absolute; inset: 0; pointer-events: none; opacity: var(--glow, 0); background: radial-gradient(60% 56% at 58% 48%, rgba(62,136,255,.24), rgba(62,136,255,0) 72%); }
#build-anything .story canvas, #build-anything .viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#build-anything .story-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 1; transition: opacity .6s ease; pointer-events: none; }
#build-anything .is-shown .story-poster { opacity: 0; transition: none; }
@media (min-width: 921px) { #build-anything .story-poster { inset: auto; left: var(--px, calc(69% - 44vh)); top: var(--py, 1.3vh); width: var(--ps, 88vh); height: var(--ps, 88vh); } }
#build-anything .ch { position: absolute; inset: 0; display: flex; padding: 110px max(24px, 5vw) 48px; pointer-events: none; opacity: 0; visibility: hidden; color: var(--story-ink, #0a0a0b); }
#build-anything .ch.show { opacity: 1; visibility: visible; }
#build-anything .ch > * { pointer-events: auto; }
#build-anything .ch-in { display: grid; gap: 16px; max-width: 500px; align-content: center; will-change: transform; }
#build-anything .ch.left { justify-content: flex-start; align-items: center; }
#build-anything .ch.right { justify-content: flex-end; align-items: center; }
#build-anything .ch.center { justify-content: center; text-align: center; align-items: flex-start; padding-top: 142px; }
#build-anything .ch.center .ch-in { max-width: 860px; justify-items: center; }
#build-anything .ch.low { justify-content: center; align-items: flex-end; text-align: center; padding-bottom: 7vh; }
#build-anything .ch.low .ch-in { max-width: 820px; justify-items: center; }
#build-anything .ch h2 { font-size: clamp(36px, 4.7vw, 70px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
#build-anything .ch p.t { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45; color: var(--story-mute, #52525b); font-weight: 300; text-wrap: pretty; }
#build-anything .ch .eyebrow { color: var(--story-accent, #0069d8); }
#build-anything .hero-ch h1 { font-size: clamp(50px, 8.2vw, 128px); line-height: .96; letter-spacing: -.055em; font-weight: 600; }
#build-anything .hero-ch h1 span { display: block; color: #8b8b93; font-size: .44em; letter-spacing: -.04em; line-height: 1.12; margin-top: 8px; }
#build-anything .hero-ch h1 span + span { margin-top: 0; }
/* "anything." in a cold Apple-style gradient (cyan, blue, indigo, violet) that starts on cyan and drifts slowly; still when motion is reduced. */
#build-anything .hero-ch h1 .bx-g { font-style: normal; padding: 0 .04em .1em 0; background: linear-gradient(100deg, #12a4ea 0%, #0a84ff 20%, #3d6cff 40%, #5e5ce6 58%, #8b5cf6 76%, #5e5ce6 90%, #2f78ff 100%); background-size: 280% 100%; background-position: 0% 50%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: bx-g 10s ease-in-out infinite alternate; }
@keyframes bx-g { to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { #build-anything .hero-ch h1 .bx-g { animation: none; background-position: 15% 50%; } }
#build-anything .hero-ch p.t { max-width: 620px; }
#build-anything .prompt { width: min(660px, 100%); background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #0a0a0b; border: 1px solid #e0e0da; border-radius: 22px; padding: 14px 14px 12px 18px; box-shadow: 0 1px 2px rgba(10,10,11,.05), 0 18px 48px rgba(10,10,11,.1); text-align: left; display: grid; gap: 10px; }
#build-anything .prompt label { font-size: 12px; font-weight: 500; color: #67676f; }
#build-anything .prompt-row { display: flex; gap: 10px; align-items: center; }
#build-anything .prompt input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 18px; font-weight: 400; height: 40px; color: #0a0a0b; }
#build-anything .prompt input::placeholder { color: #8b8b93; }
#build-anything .send { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: #0a0a0b; color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
#build-anything .send:hover { transform: scale(1.06); }
#build-anything .send svg { width: 18px; height: 18px; }
#build-anything .try { display: flex; flex-wrap: wrap; gap: 6px; }
#build-anything .try button { min-height: 32px; font-size: 13px; font-weight: 400; color: #3f3f46; padding: 0 12px; border: 1px solid #e3e3dd; background: #fff; border-radius: 999px; cursor: pointer; }
#build-anything .try button:hover, #build-anything .try button[aria-pressed="true"] { background: #0a0a0b; color: #fff; border-color: #0a0a0b; }
#build-anything .hero-note { font-size: 13px; color: #71717a; }
#build-anything .scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 12px; color: #71717a; display: flex; align-items: center; gap: 8px; pointer-events: none; transition: opacity .3s; }
#build-anything .scroll-cue i { width: 1px; height: 26px; background: linear-gradient(#a1a1aa, transparent); display: block; animation: bx-cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes bx-cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
#build-anything .progress { position: absolute; right: max(14px, 1.6vw); top: 50%; transform: translateY(-50%); display: grid; gap: 7px; z-index: 5; }
#build-anything .progress button { width: 22px; height: 22px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
#build-anything .progress i { width: 5px; height: 5px; border-radius: 50%; background: var(--story-ink, #0a0a0b); opacity: .24; transition: all .25s; }
#build-anything .progress button.on i { opacity: 1; height: 20px; border-radius: 3px; }
#build-anything .glass { background: rgba(255,255,255,.94); color: #0a0a0b; border: 1px solid rgba(10,10,11,.08); border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 44px rgba(0,0,0,.18); }
#build-anything .typed { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 17px; font-weight: 400; min-height: 56px; width: min(460px, 100%); text-align: left; }
#build-anything .typed .caret { width: 2px; height: 22px; background: #0069d8; animation: bx-blink 1s step-end infinite; }
@keyframes bx-blink { 50% { opacity: 0; } }
#build-anything .tw-mark { width: 24px; height: 24px; flex: none; }
#build-anything .chat-card { padding: 14px 16px; display: grid; gap: 10px; width: min(420px, 100%); font-size: 14.5px; line-height: 1.42; font-weight: 400; text-align: left; }
#build-anything .chat-q { justify-self: end; background: #f1f1ee; padding: 8px 12px; border-radius: 12px 12px 3px 12px; max-width: 90%; }
#build-anything .chat-a { display: flex; gap: 9px; align-items: flex-start; }
#build-anything .chat-a .tw-mark { width: 20px; height: 20px; margin-top: 1px; }
#build-anything .tool { font-family: var(--mono); font-size: 11.5px; color: #67676f; display: flex; align-items: center; gap: 6px; }
#build-anything .tool::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #0a7a43; }
#build-anything .seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
#build-anything .seg button { min-height: 36px; padding: 0 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500; border: 0; background: none; color: inherit; cursor: pointer; }
#build-anything .seg button[aria-pressed="true"] { background: #fff; color: #0a0a0b; }
#build-anything .seg.light { background: var(--paper-2); border-color: var(--line); }
#build-anything .seg.light button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
#build-anything .legend { display: flex; align-items: center; gap: 8px; font-size: 12px; color: inherit; opacity: .86; }
#build-anything .legend i { width: 132px; height: 7px; border-radius: 4px; background: linear-gradient(90deg, #30123b, #4662d7, #36aafa, #1ae4b6, #72fe5e, #c8ef34, #faba39, #f66b19, #ca2a04, #7a0403); }
#build-anything .note { font-size: 12px; opacity: .68; }
#build-anything .bom { padding: 6px 4px; width: min(350px, 100%); font-size: 13.5px; font-weight: 400; text-align: left; }
#build-anything .bom h3 { font-size: 13px; font-weight: 600; padding: 8px 12px; display: flex; justify-content: space-between; }
#build-anything .bom li { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; padding: 6px 12px; border-top: 1px solid #efefea; align-items: center; }
#build-anything .bom .n { width: 20px; height: 20px; border-radius: 50%; background: #0a0a0b; color: #fff; font: 500 10.5px/20px var(--mono); text-align: center; }
#build-anything .bom .q { font-family: var(--mono); color: #52525b; font-size: 12.5px; }
#build-anything .pin { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #0a0a0b; color: #fff; border: 2px solid #fff; font: 500 10px/18px var(--mono); text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.35); pointer-events: none; opacity: 0; transition: opacity .25s; z-index: 3; }
#build-anything .step-card { padding: 16px 18px; display: grid; gap: 7px; width: min(390px, 100%); text-align: left; font-weight: 400; }
#build-anything .step-card small { font-family: var(--mono); font-size: 11.5px; color: #67676f; }
#build-anything .step-card b { font-size: 17px; letter-spacing: -.015em; font-weight: 600; }
#build-anything .step-card p { font-size: 14px; color: #52525b; line-height: 1.4; }
#build-anything .bar { height: 3px; border-radius: 2px; background: #ececE7; overflow: hidden; }
#build-anything .bar i { display: block; height: 100%; background: #0069d8; width: 30%; }
#build-anything .cursor { position: absolute; left: 0; top: 0; width: 22px; height: 28px; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .2s; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
#build-anything .machine-name { font-size: clamp(44px, 7.4vw, 112px); letter-spacing: -.05em; font-weight: 600; line-height: 1; transition: opacity .3s ease, transform .3s ease; }
#build-anything .machine-of { font-family: var(--mono); font-size: 13px; opacity: .72; }
#build-anything .docs-fan { display: flex; justify-content: center; padding: 24px 8px 40px; perspective: 1400px; }
#build-anything .docs-fan img { width: 23%; max-width: 270px; border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.14), 0 18px 40px rgba(0,0,0,.2); margin-inline: -2.2%; background: #fff; transition: transform .35s ease; }
#build-anything .docs-fan img:nth-child(1) { transform: rotate(-6deg) translateY(14px); }
#build-anything .docs-fan img:nth-child(2) { transform: rotate(-3deg) translateY(4px); z-index: 1; }
#build-anything .docs-fan img:nth-child(3) { z-index: 2; }
#build-anything .docs-fan img:nth-child(4) { transform: rotate(3deg) translateY(4px); z-index: 1; }
#build-anything .docs-fan img:nth-child(5) { transform: rotate(6deg) translateY(14px); }
#build-anything .docs-fan img:hover { transform: translateY(-14px) scale(1.04); z-index: 4; }
#build-anything .doc-card .vis { aspect-ratio: 3 / 3.4; padding: 18px 18px 0; place-items: start center; overflow: hidden; }
#build-anything .doc-card .vis img { width: 86%; height: auto; object-fit: initial; border-radius: 2px; box-shadow: 0 8px 24px rgba(0,0,0,.18); background: #fff; }
#build-anything .file-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 38px); }
#build-anything .file-row img { height: 56px; width: auto; }
#build-anything .flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
#build-anything .flow li { padding: 20px 20px 4px 0; display: grid; gap: 6px; align-content: start; }
#build-anything .flow .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
#build-anything .flow p { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
#build-anything .logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px clamp(26px, 4vw, 54px); }
#build-anything .logos img { height: 34px; width: auto; max-width: 118px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; }
@media (prefers-color-scheme: dark) {
  #build-anything:not() .logos img { filter: grayscale(1) invert(1) brightness(1.7); }
}
#build-anything .outcomes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
#build-anything .outcomes .card { grid-column: span 4; }
#build-anything .outcomes .wide { grid-column: span 6; }
#build-anything .outcomes .card .vis { aspect-ratio: 16 / 10; }
#build-anything .table-wrap { overflow-x: auto; }
#build-anything table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-weight: 400; }
#build-anything th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
#build-anything td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
#build-anything td.num, #build-anything th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; padding-right: 0; }
#build-anything .faq { display: grid; max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line-strong); }
#build-anything .faq details { border-bottom: 1px solid var(--line); }
#build-anything .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 19px 2px; font-size: 18px; font-weight: 500; letter-spacing: -.012em; }
#build-anything .faq summary::-webkit-details-marker { display: none; }
#build-anything .faq summary::after { content: "+"; color: var(--ink-3); font-weight: 300; font-size: 22px; line-height: 1; }
#build-anything .faq details[open] summary::after { content: "–"; }
#build-anything .faq p { padding: 0 34px 20px 2px; color: var(--ink-2); font-size: 16px; }
#build-anything .close { text-align: center; display: grid; gap: 22px; justify-items: center; }
#build-anything .footer { background: #0a0a0b; color: #fff; padding-block: 64px 34px; font-size: 14px; font-weight: 400; --ink: #fff; }
#build-anything .foot-grid { display: grid; grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); gap: 30px 22px; }
#build-anything .footer h3 { font-size: 13px; font-weight: 600; margin-bottom: 11px; }
#build-anything .footer li { margin-bottom: 7px; }
#build-anything .footer li a { color: #a6a6ae; }
#build-anything .footer li a:hover { color: #fff; }
#build-anything .foot-base { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #8c8c95; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }
#build-anything .mock-btn { position: fixed; z-index: 70; left: max(14px, env(safe-area-inset-left, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px)); min-height: 44px; padding: 0 16px; border-radius: 999px; background: #0069d8; color: #fff; border: 0; font-size: 13.5px; font-weight: 500; cursor: pointer; box-shadow: 0 8px 24px rgba(0,105,216,.38); display: inline-flex; align-items: center; gap: 8px; }
#build-anything .drawer { position: fixed; inset: 0; z-index: 90; background: rgba(10,10,11,.45); display: flex; justify-content: flex-start; }
#build-anything .drawer[hidden] { display: none; }
#build-anything .drawer-in { width: min(400px, 100%); height: 100%; background: var(--card); padding: 20px; overflow-y: auto; display: grid; gap: 16px; align-content: start; }
#build-anything .drawer-top { display: flex; justify-content: space-between; align-items: center; }
#build-anything .drawer-top b { font-size: 18px; font-weight: 600; }
#build-anything .drawer-x { width: 44px; height: 44px; border: 0; background: var(--paper-2); border-radius: 50%; cursor: pointer; font-size: 18px; }
#build-anything .drawer h4 { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0; font-weight: 600; }
#build-anything .drawer a { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 9px; font-size: 14.5px; font-weight: 400; }
#build-anything .drawer a:hover, #build-anything .drawer a.on { background: var(--paper-2); }
@media (max-width: 1100px) {
  #build-anything .tree { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #build-anything .pages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #build-anything .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #build-anything .nav-login { display: none; }
  #build-anything .nav-link { padding-inline: 9px; }
}
@media (max-width: 920px) {
  #build-anything .nav { height: 60px; }
  #build-anything .nav-links, #build-anything .nav-end { display: none; }
  #build-anything .nav-burger { display: inline-flex; }
  #build-anything .nav-sheet { position: fixed; z-index: 58; top: 84px; left: 12px; right: 12px; max-height: calc(100vh - 100px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 12px; }
  #build-anything .nav-sheet.open { display: grid; gap: 2px; }
  #build-anything .nav-sheet a { padding: 12px; border-radius: 10px; font-size: 16px; font-weight: 400; }
  #build-anything .nav-sheet a:hover { background: var(--paper-2); }
  #build-anything .nav-sheet .btn { margin-top: 6px; }
  #build-anything .g3, #build-anything .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #build-anything .split, #build-anything .page-hero { grid-template-columns: minmax(0, 1fr); }
  #build-anything .split.flip > :first-child { order: 0; }
  #build-anything .ask { grid-template-columns: minmax(0, 1fr); }
  #build-anything .ask-stage { order: -1; min-height: 360px; }
  #build-anything .ask-side { border-right: 0; border-top: 1px solid rgba(255,255,255,.1); }
  #build-anything .ask-log { max-height: 280px; min-height: 150px; }
  #build-anything .outcomes .card, #build-anything .outcomes .wide { grid-column: span 6; }
  #build-anything .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #build-anything .seo-layer { grid-template-columns: minmax(0, 1fr); }
  #build-anything .tree { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #build-anything .pages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #build-anything .ch { padding: 98px 20px 26px; }
  #build-anything .ch.left, #build-anything .ch.right { justify-content: center; align-items: flex-end; text-align: left; }
  #build-anything .ch.left .ch-in, #build-anything .ch.right .ch-in { max-width: 100%; width: 100%; padding: 16px 18px; border-radius: 18px; background: var(--ch-pane, rgba(255,255,255,.82)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); gap: 9px; }
  #build-anything .ch h2 { font-size: clamp(27px, 7.6vw, 40px); }
  #build-anything .ch p.t { font-size: 15px; }
  #build-anything .progress { display: none; }
  #build-anything .ch .bom li:nth-child(n+5) { display: none; }
  #build-anything .chat-card, #build-anything .step-card { width: 100%; }
  #build-anything .chat-card { font-size: 13.5px; padding: 11px 12px; gap: 7px; }
  #build-anything .ch.center { padding-top: 112px; }
  #build-anything .hero-ch .prompt { padding: 11px 12px; }
  #build-anything .prompt input { font-size: 16px; }
}
@media (max-width: 560px) {
  #build-anything .g2, #build-anything .g3, #build-anything .g4 { grid-template-columns: minmax(0, 1fr); }
  #build-anything .outcomes .card, #build-anything .outcomes .wide { grid-column: span 12; }
  #build-anything .flow, #build-anything .tree { grid-template-columns: minmax(0, 1fr); }
  #build-anything .pages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #build-anything .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #build-anything .docs-fan img { width: 34%; margin-inline: -7%; }
  #build-anything .docs-fan img:nth-child(1), #build-anything .docs-fan img:nth-child(5) { display: none; }
  #build-anything .hero-ch h1 { font-size: clamp(44px, 13vw, 60px); }
  #build-anything .ch.left.hero-ch .ch-in { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; gap: 9px; }
  #build-anything .hero-ch p.t { font-size: 15px; }
  #build-anything .hero-ch .btn { min-height: 42px; }
  #build-anything .mock-btn { display: none; }
  #build-anything .scroll-cue { display: none; }
  #build-anything .hero-ch .hero-note { display: none; }
  #build-anything .try button:nth-child(n+4) { display: none; }
  #build-anything .file-row img { height: 42px; }
}
.no-3d #build-anything .story { height: auto; }
.no-3d #build-anything .story-stick { position: relative; height: auto; overflow: visible; background: var(--paper); }
.no-3d #build-anything .story canvas, .no-3d #build-anything .progress, .no-3d #build-anything .scroll-cue, .no-3d #build-anything .story-poster { display: none; }
.no-3d #build-anything .ch { position: relative; inset: auto; opacity: 1; visibility: visible; display: grid; justify-content: center; padding: 56px 24px; color: var(--ink); text-align: center; }
.no-3d #build-anything .ch-in { justify-items: center; max-width: 760px; }
.no-3d #build-anything .ch.hero-ch { padding-top: 132px; }
.no-3d #build-anything .story-fig { display: block; }
#build-anything .story-fig { display: none; width: min(520px, 100%); margin-inline: auto; }
@media (prefers-reduced-motion: reduce) {
  #build-anything *, #build-anything *::before, #build-anything *::after { animation: none !important; transition: none !important; }
}
#build-anything .story-stick { --ink: #0a0a0b; --ink-2: #52525b; --ink-3: #67676f; --paper: #fff; --paper-2: #f6f6f4; --card: #fff; --line: #e7e7e2; --line-strong: #d6d6cf; --accent: #0069d8; }
#build-anything .story-stick.on-dark { --ink: #fff; --ink-2: #b4b4bc; --ink-3: #9a9aa3; --paper: #0a0a0b; --paper-2: #1b1b1f; --card: #17171a; --line: rgba(255,255,255,.12); --line-strong: rgba(255,255,255,.22); --accent: #6db4ff; }
.no-3d #build-anything .story-stick { --ink: #0a0a0b; --paper: #fff; }
.no-3d #build-anything .ch { color: #0a0a0b; }
.no-3d #build-anything .ch p.t { color: #52525b; }
.no-3d #build-anything .story-stick { background: #fff; }
#build-anything .mock-btn { left: auto; right: max(14px, env(safe-area-inset-right, 0px)); }
@media (min-width: 921px) {
  #build-anything .hero-ch h1 { font-size: clamp(54px, min(7vw, 12.4vh), 128px); }
  #build-anything .hero-ch h1 span { white-space: nowrap; }
  #build-anything .hero-ch .ch-in { max-width: 540px; gap: clamp(9px, 1.6vh, 16px); }
  #build-anything .ch { padding-top: clamp(104px, 13vh, 130px); padding-bottom: clamp(18px, 4vh, 48px); }
  #build-anything .ch h2 { font-size: clamp(34px, min(4.7vw, 8.2vh), 70px); }
  #build-anything .ch.center { padding-top: clamp(116px, 15vh, 142px); }
}
@media (min-width: 921px) and (max-height: 820px) {
  #build-anything .hero-ch .hero-note { display: none; }
  #build-anything .hero-ch p.t { font-size: 16px; }
  #build-anything .prompt { padding: 10px 12px 10px 16px; gap: 6px; }
  #build-anything .prompt input { height: 34px; font-size: 16px; }
  #build-anything .send { width: 36px; height: 36px; }
  #build-anything .hero-ch .btn { min-height: 42px; }
  #build-anything .bom li { padding-block: 4px; }
}
#build-anything .mini-sch { width: min(360px, 100%); border-radius: 8px; background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.42); transition: opacity .25s ease, transform .25s ease; }
#build-anything .mini-sch.off { opacity: 0; transform: translateY(8px) scale(.98); position: absolute; pointer-events: none; }
#build-anything .gcode-card { width: min(430px, 100%); overflow: hidden; background: rgba(15,16,19,.92); color: #e7f0ff; border-color: rgba(255,255,255,.14); }
#build-anything .gcode-top { display: flex; justify-content: space-between; gap: 10px; padding: 9px 13px; border-bottom: 1px solid rgba(255,255,255,.12); font: 500 11.5px var(--mono); color: #a6b3c8; }
#build-anything .gcode-card pre { margin: 0; padding: 11px 13px; min-height: 106px; font: 400 12.5px/1.5 var(--mono); color: #cfe4ff; white-space: pre; overflow: hidden; }
@media (max-width: 920px) {
  #build-anything .mini-sch { display: none; }
  #build-anything .gcode-card pre { min-height: 58px; max-height: 58px; font-size: 11px; }
  #build-anything .ch .note { display: none; }
}
@media (min-width: 921px) and (max-height: 820px) {
  #build-anything .mini-sch { width: 300px; }
  #build-anything .gcode-card pre { min-height: 92px; }
}
.no-3d #build-anything .mini-sch { display: none; }
#build-anything .ch.brief { justify-content: center; align-items: center; text-align: center; }
#build-anything .ch.brief .ch-in { width: min(720px, 100%); max-width: 720px; justify-items: center; gap: clamp(20px, 3.4vh, 30px); background: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
#build-anything .brief-head { display: grid; gap: 12px; justify-items: center; opacity: calc(1 - var(--dock, 0) * 3.6); transform: translateY(calc(var(--dock, 0) * -20px)); }
#build-anything .prompt.brief-box { width: 100%; padding: 16px 16px 12px 20px; gap: 6px; background: #fff; border-color: rgba(255,255,255,.3); box-shadow: 0 24px 80px rgba(0,105,216,.2), 0 2px 8px rgba(0,0,0,.3); transform: translateY(calc(var(--dock, 0) * max(0px, 50vh - 205px))) scale(calc(1 - var(--dock, 0) * .06)); }
#build-anything .brief-label { font-size: 12px; font-weight: 500; color: #67676f; }
#build-anything .brief-box .prompt-row { align-items: flex-end; }
#build-anything .brief-text { flex: 1; min-width: 0; margin: 0; min-height: 1.4em; font-size: clamp(18px, 1.65vw, 22px); line-height: 1.4; font-weight: 400; color: #0a0a0b; text-align: left; }
#build-anything .brief-text .caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.16em; background: #0069d8; animation: bx-blink 1s step-end infinite; }
#build-anything .brief-box .send { background: #d6d6d2; cursor: default; transition: background .16s, transform .16s; }
#build-anything .brief-box .send:hover { transform: none; }
#build-anything .brief-box.ready .send { background: #0a0a0b; }
#build-anything .brief-box.sent .send { background: #0069d8; transform: scale(.9); }
#build-anything .brief-box.sent .caret { display: none; }
#build-anything .brief-status { display: flex; align-items: center; gap: 8px; height: 20px; margin: 0; font-size: 13px; font-weight: 400; color: #52525b; text-align: left; opacity: 0; transition: opacity .2s; }
#build-anything .brief-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0069d8; animation: bx-briefPulse 1.1s ease-in-out infinite; }
#build-anything .brief-box.sent .brief-status { opacity: 1; }
@keyframes bx-briefPulse { 50% { opacity: .25; transform: scale(.75); } }
.no-3d #build-anything .brief-status { display: none; }
.no-3d #build-anything .prompt.brief-box { transform: none; }
#build-anything { position: relative; z-index: 1; font: 300 17px/1.55 var(--sans); color: var(--ink); -webkit-font-smoothing: antialiased; }
#build-anything .story { margin: 0; }
/* The story runs to the very top, under the fixed navbar; its chapters leave room for the bar themselves. */
body.build-home { padding-top: 0; }

/* Links from the story to the pages that go deeper. */
#build-anything .more { justify-self: start; font-size: 15px; font-weight: 500; color: inherit; opacity: .78; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
#build-anything .more:hover, #build-anything .more:focus-visible { opacity: 1; }
#build-anything .ch.center .more, #build-anything .ch.low .more { justify-self: center; }
#build-anything .more-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 0; }
#build-anything .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* App-like UI (24 Nov): the message bar, chat, cards and lists look like the TwinWorks app's, with as few words as possible. */
#build-anything .app-bar { width: min(560px, 100%); display: block; padding: 8px; border: 0; border-radius: 24px; background: #fff; color: #0a0a0b; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.14); transition: box-shadow .2s; }
#build-anything .app-bar:focus-within { box-shadow: 0 0 0 1px rgba(0,105,216,.45), 0 10px 30px rgba(0,0,0,.16); }
#build-anything .app-bar .prompt-row { display: flex; align-items: flex-end; gap: 8px; }
#build-anything .app-bar input, #build-anything .app-bar .brief-text { flex: 1; min-width: 0; height: auto; min-height: 32px; margin: 0; padding: 6px 4px; font-size: 15px; line-height: 20px; font-weight: 400; color: #0a0a0b; text-align: left; }
#build-anything .app-bar input::placeholder { color: #71717a; }
#build-anything .tw-mk { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #0a0a0b; color: #fff; display: grid; place-items: center; }
#build-anything .tw-mk svg { width: 64%; height: 64%; transform: translateY(5%); }
#build-anything .tw-mk i { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; border: 2px solid #fff; background: #22c55e; }
#build-anything .pic { flex: none; width: 32px; height: 32px; display: grid; place-items: center; color: #71717a; }
#build-anything .pic svg { width: 16px; height: 16px; }
#build-anything .app-bar .send { width: 32px; height: 32px; background: #0a0a0b; color: #fff; transform: none; transition: background .15s; }
#build-anything .app-bar .send:hover { background: rgba(10,10,11,.85); transform: none; }
#build-anything .app-bar .send svg { width: 16px; height: 16px; }
#build-anything .app-bar .send .stop { display: none; width: 14px; height: 14px; }
#build-anything .try { margin-top: 2px; }
#build-anything .try button { min-height: 30px; font-size: 13px; padding: 0 12px; }
/* Describe: the bar types the sentence, sends it, then a tool line works under it. */
#build-anything .brief-wrap { width: min(620px, 100%); display: grid; gap: 12px; transform: translateY(calc(var(--dock, 0) * max(0px, 50vh - 205px))) scale(calc(1 - var(--dock, 0) * .06)); }
#build-anything .prompt.brief-box { width: 100%; transform: none; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 70px rgba(0,105,216,.22), 0 2px 8px rgba(0,0,0,.3); }
#build-anything .brief-box .send { background: rgba(113,113,122,.3); cursor: default; }
#build-anything .brief-box .send:hover { background: rgba(113,113,122,.3); }
#build-anything .brief-wrap.ready .brief-box .send { background: #0a0a0b; }
#build-anything .brief-wrap.sent .brief-box .caret { display: none; }
#build-anything .brief-wrap.sent:not(.done) .brief-box .send > svg:first-child { display: none; }
#build-anything .brief-wrap.sent:not(.done) .brief-box .send .stop { display: block; }
#build-anything .tool-line { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; line-height: 1.4; font-weight: 400; color: #71717a; text-align: left; }
#build-anything .tool-line .spin { flex: none; width: 13px; height: 13px; box-sizing: border-box; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: bx-spin .8s linear infinite; }
#build-anything .tool-line .ok { flex: none; width: 14px; height: 14px; color: #16a34a; display: none; }
#build-anything .tool-line.done .spin, #build-anything .brief-wrap.done .tool-line .spin { display: none; }
#build-anything .tool-line.done .ok, #build-anything .brief-wrap.done .tool-line .ok { display: block; }
#build-anything .brief-wrap .tool-line { padding-left: 18px; color: rgba(255,255,255,.72); opacity: 0; transition: opacity .2s; }
#build-anything .brief-wrap.sent .tool-line { opacity: 1; }
#build-anything .brief-wrap .tool-line .ok { color: #4ade80; }
@keyframes bx-spin { to { transform: rotate(360deg); } }
/* Ask: the app's chat. */
#build-anything .app-chat { width: min(420px, 100%); display: grid; gap: 14px; padding: 18px; border-radius: 16px; background: #fff; color: #0a0a0b; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.14); font-size: 14px; line-height: 1.6; font-weight: 400; text-align: left; }
#build-anything .msg-u { justify-self: end; max-width: 85%; margin: 0; padding: 10px 16px; border-radius: 16px; background: #f4f4f5; }
#build-anything .msg-a { margin: 0; }
/* Cards: white, a hairline and a soft lift, as in the app. */
#build-anything .glass:not(.gcode-card) { background: #fff; color: #0a0a0b; border: 0; border-radius: 16px; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.14); }
#build-anything .bom { padding: 6px 0; }
#build-anything .bom h3 { display: block; padding: 8px 16px; font-size: 13px; font-weight: 500; color: #71717a; }
#build-anything .bom li { grid-template-columns: 1fr auto; padding: 8px 16px; font-size: 14px; border-top-color: #f0f0f0; }
#build-anything .bom .q { font-family: inherit; font-variant-numeric: tabular-nums; font-size: 13px; color: #71717a; }
#build-anything .step-card { gap: 6px; padding: 16px 18px; }
#build-anything .step-card small { font-family: inherit; font-size: 12px; color: #71717a; }
#build-anything .step-card b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
#build-anything .gcode-top { justify-content: flex-start; }
#build-anything .ch-in > h2 + .app-chat, #build-anything .ch-in > h2 + .glass { margin-top: 6px; }
@media (max-width: 920px) {
  #build-anything .tw-mk, #build-anything .pic, #build-anything .app-bar .send { width: 40px; height: 40px; }
  #build-anything .app-bar { border-radius: 28px; }
  #build-anything .app-bar input, #build-anything .app-bar .brief-text { min-height: 40px; padding-block: 10px; font-size: 16px; }
  #build-anything .app-chat { padding: 14px; gap: 10px; font-size: 13.5px; }
}
#build-anything .ch-in > .seg, #build-anything .ch-in > .legend { justify-self: start; }
#build-anything .ch.center .ch-in > .seg { justify-self: center; }
#build-anything .ch .app-chat .msg-u, #build-anything .ch .app-chat .msg-a { color: #0a0a0b; }
#build-anything .ch .app-chat .tool-line { color: #71717a; }

/* Hero, centred (owner, 25 Nov: "center this"): the drone at the top in the middle, the headline, bar, examples and buttons centred under it. */
@media (min-width: 921px) {
  #build-anything .ch.hero-ch { justify-content: center; align-items: flex-end; text-align: center; padding-bottom: clamp(26px, 6vh, 64px); }
  #build-anything .hero-ch .ch-in { max-width: 760px; width: 100%; justify-items: center; align-content: end; }
  #build-anything .hero-ch h1 { font-size: clamp(46px, min(6.2vw, 9.6vh), 108px); }
  #build-anything .hero-ch .app-bar { width: min(600px, 100%); }
  #build-anything .hero-ch .try, #build-anything .hero-ch .cta { justify-content: center; }
}
@media (max-width: 920px) {
  #build-anything .ch.left.hero-ch .ch-in { justify-items: center; text-align: center; }
  #build-anything .hero-ch .try, #build-anything .hero-ch .cta { justify-content: center; }
}

/* Documents (owner, 25 Nov: "the documents look very weird", "add 2d drawings and isometric views"): flat, sharp pages at true
   proportions, the two A3 drawings above the three A4 pages. 26 Nov, owner: "add a stylish and cool animation when appearing the
   tech docs of the drone". Each page flies out of the middle, where the drone dissolves, tilting up into its place as blank paper;
   then a blue scan line runs down it and writes it in. */
#build-anything .ch .docs-fan.story-fig { display: grid; width: auto; justify-items: center; gap: clamp(10px, 1.6vh, 16px); padding: 6px 0 0; perspective: none; }
#build-anything .ch .docs-row { display: flex; justify-content: center; gap: clamp(10px, 1.2vw, 18px); perspective: 1100px; }
#build-anything .ch .docs-fan .doc { position: relative; display: block; line-height: 0; border-radius: 2px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 44px rgba(0,0,0,.45); opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(.28) rotateX(62deg) rotateZ(var(--fr, 0)); transition: transform 1s cubic-bezier(.16,1,.3,1) var(--d, 0s), opacity .3s ease var(--d, 0s); }
#build-anything .ch .docs-fan .doc img { display: block; width: auto; max-width: none; margin: 0; border-radius: 0; box-shadow: none; opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path .85s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + .55s); }
#build-anything .ch .docs-fan .doc::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #8cc8ff; box-shadow: 0 0 10px 2px rgba(90,170,255,.85), 0 0 34px 10px rgba(90,170,255,.35); opacity: 0; pointer-events: none; }
#build-anything .ch.live .docs-fan .doc { opacity: 1; transform: none; }
#build-anything .ch.live .docs-fan .doc img { clip-path: inset(0 0 0 0); }
#build-anything .ch.live .docs-fan .doc::after { animation: bx-doc-scan .85s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + .55s) both; }
@keyframes bx-doc-scan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 2px); opacity: 0; } }
/* fly-out points: every page starts at the middle of the group */
#build-anything .ch .docs-draw .doc:nth-child(1) { --fx: 52%; --fy: 58%; --fr: -9deg; --d: 0s; }
#build-anything .ch .docs-draw .doc:nth-child(2) { --fx: -52%; --fy: 58%; --fr: 9deg; --d: .12s; }
#build-anything .ch .docs-pages .doc:nth-child(1) { --fx: 108%; --fy: -52%; --fr: -12deg; --d: .24s; }
#build-anything .ch .docs-pages .doc:nth-child(2) { --fx: 0%; --fy: -52%; --fr: 0deg; --d: .34s; }
#build-anything .ch .docs-pages .doc:nth-child(3) { --fx: -108%; --fy: -52%; --fr: 12deg; --d: .44s; }
#build-anything .ch .docs-draw img { height: min(25vh, calc((100vw - 80px) / 2.9)); }
#build-anything .ch .docs-pages img { height: min(27vh, calc((100vw - 80px) / 2.25)); }
@media (max-width: 920px) {
  #build-anything .ch .docs-draw img { height: min(20vh, calc((100vw - 60px) / 2.9)); }
  #build-anything .ch .docs-pages img { height: min(22vh, calc((100vw - 60px) / 2.25)); }
}
.no-3d #build-anything .ch .docs-fan .doc { opacity: 1; transform: none; }
.no-3d #build-anything .ch .docs-fan .doc img { clip-path: none; }
.no-3d #build-anything .ch .docs-fan .doc::after { display: none; }
#build-anything .ch.center .ch-in:has(.docs-fan) { max-width: 100%; width: 100%; }

/* Callouts around the exploded drone: white balloons, thin leader lines, a dot on each part (parts catalog style). */
#build-anything #pins { position: absolute; inset: 0; pointer-events: none; transition: opacity .35s ease; opacity: 0; z-index: 3; }
#build-anything #pins.on { opacity: 1; }
#build-anything .pin-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#build-anything .pin-lines path { fill: none; stroke: rgba(255,255,255,.62); stroke-width: 1; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .4s cubic-bezier(.4,0,.2,1) calc(var(--i, 0) * 70ms + .1s); }
#build-anything .pin-lines circle { fill: #fff; opacity: 0; transition: opacity .2s ease calc(var(--i, 0) * 70ms + .1s); }
#build-anything #pins .pin { width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 0; background: #fff; color: #0a0a0b; font: 600 12.5px/28px var(--sans); font-variant-numeric: tabular-nums; text-align: center; box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 4px 14px rgba(0,0,0,.35); opacity: 0; scale: .35; transition: opacity .18s ease calc(var(--i, 0) * 70ms + .42s), scale .5s cubic-bezier(.34,1.56,.64,1) calc(var(--i, 0) * 70ms + .42s); }
#build-anything #pins.on .pin-lines path { stroke-dashoffset: 0; }
#build-anything #pins.on .pin-lines circle, #build-anything #pins.on .pin { opacity: 1; scale: 1; }
#build-anything #pins .off { visibility: hidden; }
#build-anything .bom li { grid-template-columns: 22px 1fr auto; gap: 10px; }
#build-anything .bom .n { width: 22px; height: 22px; border-radius: 50%; background: none; color: #3f3f46; box-shadow: inset 0 0 0 1px #d4d4d8; font: 600 11px/22px var(--sans); font-variant-numeric: tabular-nums; text-align: center; transition: background .25s ease, color .25s ease, box-shadow .25s ease; transition-delay: calc(var(--i, 0) * 70ms + .42s); }
/* each part's number fills as its balloon pops on the drone */
#build-anything .ipc .bom .n { background: #0a0a0b; color: #fff; box-shadow: inset 0 0 0 1px #0a0a0b; }
@media (max-height: 900px) { #build-anything .bom li { padding-block: 5px; font-size: 13.5px; } }
@media (max-width: 920px) {
  #build-anything .ch .bom li:nth-child(n) { display: grid; }
  #build-anything .bom ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; }
  #build-anything .bom li { padding: 4px 10px; font-size: 12px; grid-template-columns: 18px 1fr auto; gap: 6px; border-top: 0; }
  #build-anything .bom .n { width: 18px; height: 18px; font-size: 10px; line-height: 18px; }
  #build-anything #pins .pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 11px; line-height: 24px; }
}

/* Tab takes the suggestion: a small key hint while the box is empty and focused (desktop keyboards only). */
#build-anything .tab-hint { display: none; align-self: center; flex: none; padding: 2px 7px; border-radius: 6px; border: 1px solid #e4e4e7; background: #fafafa; color: #71717a; font: 500 11px/16px var(--sans); }
#build-anything .app-bar input:placeholder-shown:focus ~ .tab-hint { display: inline-block; }
@media (hover: none), (max-width: 920px) { #build-anything .app-bar .tab-hint { display: none; } }
@media (hover: none), (max-width: 920px) { #build-anything .app-bar input:placeholder-shown:focus ~ .tab-hint { display: none; } }

/* New in TwinWorks (25 Nov): eight app-style cards after the story, a title and one line each, every one a link. */
#build-anything .news { position: relative; z-index: 1; padding: clamp(64px, 10vh, 112px) max(20px, 5vw) clamp(56px, 9vh, 104px); background: #fff; color: #0a0a0b; }
#build-anything .news h2 { margin: 0 0 clamp(24px, 4vh, 44px); text-align: center; font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; color: #0a0a0b; }
#build-anything .news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1240px; margin: 0 auto; }
#build-anything .news-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 16px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.07); transition: transform .2s ease, box-shadow .2s ease; }
#build-anything .news-card:hover, #build-anything .news-card:focus-visible { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 18px 40px rgba(0,0,0,.12); }
#build-anything .news-card .shot { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f4f4f5; }
#build-anything .news-card .shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
#build-anything .news-card .shot.fit img { object-fit: contain; padding: 12px; }
#build-anything .news-card .txt { display: grid; align-content: start; gap: 4px; padding: 14px 16px 16px; text-align: left; }
#build-anything .news-card h3 { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: #0a0a0b; }
#build-anything .news-card p { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 400; color: #71717a; }
@media (max-width: 1100px) { #build-anything .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { #build-anything .news-grid { gap: 10px; } #build-anything .news-card .txt { padding: 10px 12px 12px; } #build-anything .news-card h3 { font-size: 14.5px; } #build-anything .news-card p { font-size: 13px; } }

/* Feature sections on the home (25 Nov): one per major feature, a short two-part headline, one line, a link, a real visual;
   sides alternate; light and dark follow the page. */
main.home .bxf { --bxf-bg: #fff; --bxf-ink: #0a0a0b; --bxf-mute: #6b6b74; --bxf-card: #f4f4f5; --bxf-accent: #0069d8; background: var(--bxf-bg); color: var(--bxf-ink); padding: clamp(48px, 7.5vh, 88px) max(20px, 5vw); }
main.home .bxf-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 1180px; margin: 0 auto; }
main.home .bxf--flip .bxf-text { order: 2; }
main.home .bxf-text { display: grid; gap: 14px; justify-items: start; text-align: left; }
main.home .bxf-new { margin: 0; padding: 3px 10px; border-radius: 999px; background: rgba(0,105,216,.1); color: var(--bxf-accent); font: 600 12px/18px var(--sans, Inter, sans-serif); }
main.home .bxf h2 { margin: 0; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; color: var(--bxf-ink); }
main.home .bxf h2 span { display: block; color: var(--bxf-mute); }
main.home .bxf-line { margin: 0; max-width: 34ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--bxf-mute); }
main.home .bxf a.bxf-link { color: var(--bxf-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
main.home .bxf-media { position: relative; border-radius: 20px; background: var(--bxf-card); overflow: hidden; }
main.home .bxf-media > img { display: block; width: 100%; height: auto; }
main.home .bxf-note { position: absolute; right: 14px; bottom: 10px; margin: 0; font-size: 12px; color: var(--bxf-mute); }
main.home .bxf-docs { display: flex; justify-content: center; align-items: center; gap: 2.5%; padding: clamp(20px, 3.5vw, 44px) clamp(14px, 2.5vw, 32px); }
main.home .bxf-docs img { width: 27%; height: auto; min-width: 0; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 12px 30px rgba(0,0,0,.14); }
main.home .bxf-docs img:nth-child(2) { width: 40%; }
@media (max-width: 860px) {
  main.home .bxf-in { grid-template-columns: 1fr; }
  main.home .bxf--flip .bxf-text { order: 0; }
}
@media (prefers-color-scheme: dark) {
  main.home .bxf { --bxf-bg: #0b0b0c; --bxf-ink: #f4f4f5; --bxf-mute: #a1a1aa; --bxf-card: #f4f4f5; --bxf-accent: #6db4ff; }
}

/* Feature animations (25 Nov, owner: "each section should have a quick animation presenting it, simple and magical, with TwinWorks UI").
   Each window is a piece of the app with its real labels and tokens (frontend trunk: primary #0068D6, success #33C758, muted text
   #6B6B6B, border #E5E5E5, muted #F5F5F5, Design room viewport #EEF0F3 to #DFE3E9): the 3D stage plus one floating panel.
   .final is the end state: shown before a window plays, after it, and always with reduced motion or no WebGL. Light in dark mode, like the app. */
main.home .bxf-media:has(.tw-win) { background: none; overflow: visible; }
main.home .tw-win { --tw-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; position: relative; aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #eef0f3, #dfe3e9); color: #0a0a0a; font: 400 13px/1.4 var(--tw-font); -webkit-font-smoothing: antialiased; box-shadow: 0 0 0 1px rgba(0,0,0,.05); text-align: left; }
main.home .tw-vp, main.home .tw-vp canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
main.home .tw-vp canvas { display: block; }
main.home .tw-poster { position: absolute; top: 4%; bottom: 4%; left: 4%; right: 4%; width: auto; height: auto; max-width: none; object-fit: contain; transition: opacity .3s ease; pointer-events: none; }
main.home .tw-win.has-right .tw-poster { right: calc(clamp(196px, 42%, 250px) + 16px); }
main.home .tw-win.has-left .tw-poster { left: calc(clamp(196px, 42%, 250px) + 16px); }
main.home .tw-win .tw-poster.snap { inset: 0; width: 100%; height: 100%; }
main.home .tw-win[data-anim="cad"] .tw-poster { inset: 0; width: 100%; height: 100%; object-fit: cover; }
main.home .tw-win.live .tw-poster { opacity: 0; }
main.home .tw-ui { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
main.home .tw-ui svg { flex: none; }
@keyframes tw-in { from { opacity: 0; transform: translateY(5px); } }
@keyframes tw-spin { to { transform: rotate(360deg); } }
@keyframes tw-blink { 50% { opacity: 0; } }
/* Floating panel: the app's side panels float over the view as white cards. */
main.home .tw-card { position: absolute; top: 10px; max-height: calc(100% - 20px); width: clamp(196px, 42%, 250px); display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 8px 24px rgba(15,23,42,.08); }
main.home .tw-card.left { left: 10px; }
main.home .tw-card.right { right: 10px; }
main.home .tw-card h3 { margin: 0; padding: 12px 12px 6px; font: 600 14px/1.3 var(--tw-font); letter-spacing: 0; color: #0a0a0a; }
main.home .tw-tabs { display: flex; gap: 12px; margin: 0; padding: 4px 12px 7px; font-size: 12px; color: #6b6b6b; border-bottom: 1px solid #f0f0f0; }
main.home .tw-tabs b { font-weight: 600; color: #0a0a0a; box-shadow: inset 0 -2px 0 #0a0a0a; padding-bottom: 6px; margin-bottom: -7px; }
main.home .tw-sub { margin: 0; padding: 10px 12px 2px; font-size: 11.5px; font-weight: 500; color: #6b6b6b; }
main.home .tw-pill { display: inline-flex; align-self: flex-start; gap: 2px; margin: 10px 10px 6px; padding: 3px; border-radius: 999px; background: #f5f5f5; font-size: 12px; color: #6b6b6b; }
main.home .tw-pill > * { padding: 3px 10px; border-radius: 999px; font-weight: 400; }
main.home .tw-pill b { background: #fff; color: #0a0a0a; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
main.home .tw-pill.tl { position: absolute; top: 12px; left: 12px; margin: 0; background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
main.home .tw-pill.tl b { background: #0a0a0a; color: #fff; }
main.home .tw-pill > span { transition: background .3s ease, color .3s ease; }
main.home .tw-pill.tl > span.on, main.home .tw-win.final .tw-pill.tl > .v-3d { background: #0a0a0a; color: #fff; font-weight: 500; }
/* Board view: the real board's outline, footprints, holes and copper, flat from the top (built from the 3D model); 3D takes over after routing. */
main.home .tw-2d { position: absolute; top: 14%; bottom: 6%; left: 4%; right: 4%; opacity: 0; transition: opacity .45s ease; }
main.home .tw-win.has-right .tw-2d { right: calc(clamp(196px, 42%, 250px) + 22px); }
main.home .tw-2d svg { display: block; width: 100%; height: 100%; overflow: visible; }
main.home .tw-win.b2d .tw-2d { opacity: 1; }
main.home .tw-vp canvas { transition: opacity .45s ease; }
main.home .tw-win.b2d .tw-vp canvas { opacity: 0; }
/* Rows: 13 px, hairlines, a status at the right (spinner while working, the success check when done). */
main.home .tw-rows { list-style: none; margin: 0; padding: 0; }
main.home .tw-rows li { display: grid; grid-template-columns: 15px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 30px; padding: 5px 12px; font-size: 12.5px; line-height: 1.3; color: #0a0a0a; transition: background .3s ease; }
main.home .tw-rows li + li { border-top: 1px solid #f3f3f3; }
main.home .tw-rows li > svg { width: 15px; height: 15px; color: rgba(10,10,10,.7); }
main.home .tw-rows li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
main.home .tw-rows.kv li { grid-template-columns: minmax(0, 1fr) auto; }
main.home .tw-rows .v { color: #6b6b6b; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
main.home .tw-rows li.run { background: rgba(0,104,214,.06); }
main.home .tw-rows .st { position: relative; width: 14px; height: 14px; }
main.home .tw-rows .st::before { content: ""; position: absolute; inset: 1px; box-sizing: border-box; border-radius: 50%; border: 2px solid #0068d6; border-right-color: transparent; opacity: 0; animation: tw-spin .8s linear infinite; }
main.home .tw-rows li.run .st::before { opacity: 1; }
main.home .tw-rows .st .ok { position: absolute; inset: 0; width: 14px; height: 14px; color: #33c758; opacity: 0; transition: opacity .2s; }
main.home .tw-rows li.ok .st .ok, main.home .tw-win.final .tw-rows .st .ok { opacity: 1; }
main.home .tw-rows.dl li, main.home .tw-rows li.dlr, main.home .tw-act { color: #0068d6; }
main.home .tw-rows.dl li > svg, main.home .tw-rows li.dlr > svg, main.home .tw-act svg { color: #0068d6; }
main.home .tw-rows.dl li > span { white-space: normal; }
main.home .tw-rows li.good { color: #1f8a3e; font-weight: 500; }
main.home .tw-rows li.good .ok { width: 15px; height: 15px; color: #33c758; }
main.home .tw-act { display: flex; align-items: center; gap: 7px; margin: 2px 12px 0; padding: 6px 0; font-size: 12.5px; font-weight: 500; }
main.home .tw-act svg { width: 14px; height: 14px; }
/* Studies: name, kind underneath, status words from the app. */
main.home .tw-studies li { min-height: 42px; }
main.home .tw-studies li > span:not(.v) { display: grid; }
main.home .tw-studies b { font-weight: 500; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
main.home .tw-studies small { font-size: 11px; color: #6b6b6b; }
main.home .tw-rows .v .s1, main.home .tw-rows .v .s2 { display: none; }
main.home .tw-rows li.run .v .s0, main.home .tw-rows li.ok .v .s0 { display: none; }
main.home .tw-rows li.run .v .s1 { display: inline-flex; align-items: center; gap: 5px; color: #0068d6; }
main.home .tw-rows li.run .v .s1::before { content: ""; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tw-spin .8s linear infinite; }
main.home .tw-rows li.ok .v .s2 { display: inline; color: #1f8a3e; }
main.home .tw-win.final .tw-rows .v .s0, main.home .tw-win.final .tw-rows .v .s1 { display: none; }
main.home .tw-win.final .tw-rows .v .s2 { display: inline; color: #1f8a3e; }
/* Reveal: rows and lines fade in as the script reaches them (always shown in .final). */
main.home .tw-win:not(.final) .tw-card.right, main.home .tw-win:not(.final) .tw-legend, main.home .tw-win:not(.final) .tw-pill.tl { opacity: 0; transition: opacity .35s ease; }
main.home .tw-win:not(.final) .tw-card.right.on, main.home .tw-win:not(.final) .tw-legend.on, main.home .tw-win:not(.final) .tw-pill.tl.on { opacity: 1; }
main.home .tw-win:not(.final) [data-tw-in]:not(.on) { visibility: hidden; }
main.home .tw-win:not(.final) [data-tw-in].on { animation: tw-in .3s ease both; }
/* Assistant panel: header, the request bubble, tool lines (13 px, grey, spinner then green check), composer at the bottom. */
main.home .tw-head { display: flex; align-items: center; gap: 6px; margin: 0; padding: 10px 12px; font-size: 12px; color: #6b6b6b; border-bottom: 1px solid #f0f0f0; }
main.home .tw-head svg { width: 13px; height: 13px; }
main.home .tw-msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 10px 12px; overflow: hidden; }
main.home .tw-msg { align-self: flex-end; max-width: 90%; margin: 0; padding: 7px 11px; border-radius: 14px; background: #f5f5f5; font-size: 12.5px; line-height: 1.4; color: #0a0a0a; }
main.home .tw-steps { display: grid; gap: 6px; }
main.home .tw-line { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; line-height: 1.3; color: #6b6b6b; }
main.home .tw-line .spin { flex: none; width: 12px; height: 12px; box-sizing: border-box; border-radius: 50%; border: 2px solid #a3a3a3; border-right-color: transparent; animation: tw-spin .8s linear infinite; }
main.home .tw-line .ok { flex: none; width: 13px; height: 13px; color: #33c758; display: none; }
main.home .tw-line.done .spin, main.home .tw-win.final .tw-line .spin { display: none; }
main.home .tw-line.done .ok, main.home .tw-win.final .tw-line .ok { display: block; }
main.home .tw-win:not(.final) .tw-msg:not(.on), main.home .tw-win:not(.final) .tw-line:not(.on) { display: none; }
main.home .tw-win:not(.final) .tw-msg.on, main.home .tw-win:not(.final) .tw-line.on { animation: tw-in .3s ease both; }
/* Composer: the app's AssistantComposer (floating bar, or inside the panel). */
main.home .tw-bar { position: absolute; left: 50%; bottom: 12px; width: min(86%, 400px); transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.12); }
main.home .tw-bar.in { position: relative; left: auto; bottom: auto; width: auto; transform: none; flex: none; margin: 0 8px 8px; padding: 5px 5px 5px 10px; border-radius: 14px; box-shadow: 0 0 0 1px #e5e5e5; }
main.home .tw-mk { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #0a0a0a; color: #fff; display: grid; place-items: center; }
main.home .tw-mk svg { width: 62%; height: 62%; transform: translateY(5%); }
main.home .tw-mk i { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; border: 2px solid #fff; background: #22c55e; }
main.home .tw-typed { flex: 1; min-width: 0; margin: 0; padding: 4px 0; font-size: 13px; line-height: 20px; color: #0a0a0a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
main.home .tw-typed .ph { color: #6b6b6b; }
main.home .tw-typed .tx:empty { display: none; }
main.home .tw-typed .tx:not(:empty) + .caret { display: inline-block; }
main.home .tw-typed .caret { display: none; width: 1.5px; height: 15px; margin-left: 1px; vertical-align: -3px; background: #0068d6; animation: tw-blink 1s steps(1) infinite; }
main.home .tw-win.final .tw-typed .caret, main.home .tw-win.final .tw-typed .ph { display: none; }
main.home .tw-win.final .tw-typed .tx { display: inline; }
main.home .tw-pic { flex: none; width: 26px; height: 26px; display: grid; place-items: center; color: #6b6b6b; }
main.home .tw-pic svg { width: 15px; height: 15px; }
main.home .tw-send { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(113,113,122,.3); color: #fff; transition: background .15s; }
main.home .tw-bar.ready .tw-send, main.home .tw-bar.sent .tw-send { background: #0a0a0a; }
main.home .tw-bar.done .tw-send { background: rgba(113,113,122,.3); }
main.home .tw-send svg { width: 14px; height: 14px; }
main.home .tw-send .stop { display: none; width: 11px; height: 11px; }
main.home .tw-bar.sent:not(.done) .tw-send > svg:first-child { display: none; }
main.home .tw-bar.sent:not(.done) .tw-send .stop { display: block; }
main.home .tw-gen { flex: none; display: grid; place-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #0a0a0a; color: #fff; font-size: 12.5px; font-weight: 500; transition: opacity .2s; }
main.home .tw-bar:not(.ready):not(.sent) .tw-gen { background: rgba(113,113,122,.3); }
main.home .tw-bar.sent:not(.done) .tw-gen { opacity: .45; }
/* Legend: the app's colour bar card, top left (Turbo, high at the top). */
main.home .tw-legend { position: absolute; left: 12px; top: 12px; width: 118px; padding: 8px 10px 9px; border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06); }
main.home .tw-legend .lg { display: none; }
main.home .tw-legend.v1 .g1, main.home .tw-legend.v2 .g2, main.home .tw-legend.v3 .g3, main.home .tw-win.final .tw-legend .g1 { display: block; }
main.home .tw-win.final .tw-legend .g2, main.home .tw-win.final .tw-legend .g3 { display: none; }
main.home .tw-legend p { display: flex; justify-content: space-between; gap: 6px; margin: 0; font-size: 11px; color: #6b6b6b; }
main.home .tw-legend p b { font-size: 12px; font-weight: 600; color: #0a0a0a; }
main.home .lg-bar { display: flex; gap: 7px; height: 86px; margin-top: 7px; }
main.home .lg-bar i { width: 10px; border-radius: 3px; background: linear-gradient(0deg, #30123b, #4662d7, #36aaf9, #1ae4b6, #72fe5e, #c8ef34, #faba39, #f66b19, #ca2a04, #7a0403); }
main.home .lg-bar span { display: flex; flex-direction: column; justify-content: space-between; font-size: 10.5px; color: #6b6b6b; }
main.home .lg-bar em { font-style: normal; font-variant-numeric: tabular-nums; line-height: 1; }
main.home .tw-note { position: absolute; left: 14px; bottom: 9px; margin: 0; font-size: 11px; color: #6b6b6b; }
/* Documents: the real pages, written top to bottom behind a blue line, each with the app's status chip. */
main.home .tw-pages { position: absolute; inset: 7% 5% 23%; display: flex; justify-content: center; align-items: center; gap: 3%; }
main.home .tw-page { position: relative; display: grid; justify-items: center; gap: 8px; width: 27%; min-width: 0; container-type: inline-size; }
main.home .tw-page.wide { width: 40%; }
main.home .tw-sheet { position: relative; width: 100%; overflow: hidden; border-radius: 2px; background: #fff; color: #111114; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 12px 30px rgba(0,0,0,.14); box-sizing: border-box; }
main.home .tw-sheet.a4 { aspect-ratio: 1 / 1.414; padding: 6.5cqw 7cqw; font-size: 3.3cqw; line-height: 1.3; }
main.home .tw-sheet.a3 { aspect-ratio: 1.414 / 1; }
main.home .tw-sheet.a3 svg { display: block; width: 100%; height: 100%; }
main.home .tw-sheet p, main.home .tw-sheet h4, main.home .tw-sheet ol { margin: 0; }
main.home .tw-sheet .d-hd { display: flex; justify-content: space-between; gap: 4cqw; margin-bottom: 5cqw; padding-bottom: 1.6cqw; border-bottom: .35cqw solid #e5e5e5; font-size: 2.5cqw; color: #777; white-space: nowrap; }
main.home .tw-sheet .d-k { margin-bottom: 1.4cqw; font-size: 2.5cqw; letter-spacing: .08em; text-transform: uppercase; color: #777; }
main.home .tw-sheet h4 { margin-bottom: 2.4cqw; font: 700 6.4cqw/1.1 Inter, sans-serif; letter-spacing: -.02em; color: #111114; }
main.home .tw-sheet h4.sm { margin-bottom: 1cqw; font-size: 4.6cqw; }
main.home .tw-sheet .d-p { color: #555; font-size: 3cqw; }
main.home .tw-sheet img { display: block; width: 78%; height: auto; margin: 2cqw auto 3cqw; }
main.home .tw-sheet .d-h { margin-bottom: 1.2cqw; font-weight: 600; font-size: 3.4cqw; }
main.home .tw-sheet .d-toc { list-style: none; padding: 0; display: grid; gap: .9cqw; font-size: 3cqw; }
main.home .tw-sheet .d-toc li { font-size: 3cqw; line-height: 1.3; display: flex; align-items: baseline; gap: 1.2cqw; white-space: nowrap; }
main.home .tw-sheet .d-toc i { flex: 1; border-bottom: .35cqw dotted #bbb; }
main.home .tw-sheet .d-tbl { display: grid; font-size: 2.7cqw; border-top: .35cqw solid #111; }
main.home .tw-sheet .d-tbl p { font-size: 2.7cqw; line-height: 1.3; display: grid; grid-template-columns: 9cqw 1fr 8cqw; gap: 1.5cqw; padding: .55cqw 1cqw; border-bottom: .3cqw solid #e5e5e5; white-space: nowrap; }
main.home .tw-sheet .d-tbl p.h { background: #111114; color: #fff; font-weight: 600; }
main.home .tw-sheet .d-tbl p > :last-child { text-align: right; }
main.home .tw-sheet svg .w5 { stroke-width: 5; }
main.home .tw-sheet svg .w4 { stroke-width: 4; }
main.home .tw-sheet svg .w3 { stroke-width: 3; }
main.home .tw-sheet svg .w2 { stroke-width: 2.4; }
main.home .tw-rest { visibility: hidden; }
main.home .tw-win:not(.final) .tw-sheet g[data-w] > * { stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--d, 0)); }
main.home .tw-win:not(.final) .tw-sheet img[data-w] { opacity: var(--d, 0); clip-path: inset(0 0 calc((1 - var(--d, 0)) * 100%) 0); }
main.home .tw-chip { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 999px; background: rgba(255,255,255,.85); font-size: 11px; color: #6b6b6b; white-space: nowrap; visibility: hidden; }
main.home .tw-chip .spin { width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; border: 2px solid #a3a3a3; border-right-color: transparent; animation: tw-spin .8s linear infinite; }
main.home .tw-chip .dot { display: none; width: 6px; height: 6px; border-radius: 50%; background: #a3a3a3; }
main.home .tw-chip .s2 { display: none; }
main.home .tw-page.gen .tw-chip, main.home .tw-page.draft .tw-chip, main.home .tw-win.final .tw-chip { visibility: visible; }
main.home .tw-page.draft .tw-chip .spin, main.home .tw-page.draft .tw-chip .s1, main.home .tw-win.final .tw-chip .spin, main.home .tw-win.final .tw-chip .s1 { display: none; }
main.home .tw-page.draft .tw-chip .dot, main.home .tw-page.draft .tw-chip .s2, main.home .tw-win.final .tw-chip .dot, main.home .tw-win.final .tw-chip .s2 { display: inline-block; }
/* AR: the real TwinWorks AR app recording in a phone. */
main.home .tw-win.tw-ar { background: radial-gradient(120% 90% at 50% 100%, #dfe3e9, #eef0f3 60%); }
main.home .tw-phone { position: absolute; top: 6%; bottom: 6%; left: 50%; aspect-ratio: 540 / 1168; transform: translateX(-50%); border-radius: 26px; padding: 5px; background: #0a0a0a; box-shadow: 0 2px 4px rgba(0,0,0,.18), 0 24px 50px rgba(0,0,0,.22); }
main.home .tw-phone video { display: block; width: 100%; height: 100%; border-radius: 21px; object-fit: cover; background: #2a2a2a; }
@media (max-width: 560px) {
  main.home .tw-win { aspect-ratio: 4 / 5; border-radius: 16px; }
  main.home .tw-card, main.home .tw-card.left, main.home .tw-card.right { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 50%; }
  main.home .tw-win.has-right .tw-poster, main.home .tw-win.has-left .tw-poster { left: 4%; right: 4%; top: 3%; bottom: 49%; }
  main.home .tw-win.has-right .tw-2d { left: 6%; right: 6%; top: 13%; bottom: 52%; }
  main.home .tw-card h3 { padding: 9px 10px 2px; font-size: 13px; }
  main.home .tw-rows li { min-height: 26px; padding: 4px 10px; font-size: 12px; }
  main.home .tw-studies li { min-height: 34px; }
  main.home .tw-sub { padding: 6px 10px 0; }
  main.home .tw-win[data-anim="bom"] .r3, main.home .tw-win[data-anim="bom"] .r7, main.home .tw-win[data-anim="bom"] .r8 { display: none; }
  main.home .tw-pill { margin: 8px 8px 4px; }
  main.home .tw-legend { left: 8px; top: 8px; width: 104px; padding: 6px 8px; }
  main.home .lg-bar { height: 62px; }
  main.home .tw-note { left: auto; right: 12px; top: 10px; bottom: auto; }
  main.home .tw-pages { inset: 9% 3% 22%; }
  main.home .tw-bar:not(.in) { width: 92%; bottom: 10px; }
}

/* Hero examples (25 Nov, owner: "slightly modify this design to be different from the buttons"): the app's suggestion chips instead
   of pills like Start free / Book demo: soft grey fill, no border, 8 px corners, a 14 px box icon; the chosen one turns blue, not black. */
#build-anything .try button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px 0 9px; border: 0; border-radius: 8px; background: rgba(10,10,11,.055); color: #3f3f46; font-size: 13px; font-weight: 450; transition: background .15s, color .15s; }
#build-anything .try button::before { content: ""; flex: none; width: 14px; height: 14px; background: currentColor; opacity: .7; -webkit-mask: var(--tw-box) center / contain no-repeat; mask: var(--tw-box) center / contain no-repeat; }
#build-anything .try { --tw-box: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E"); }
#build-anything .try button:hover { background: rgba(10,10,11,.09); color: #0a0a0b; border-color: transparent; }
#build-anything .try button[aria-pressed="true"] { background: #e8f2ff; color: #0068d6; border-color: transparent; }
#build-anything .try button[aria-pressed="true"]::before { opacity: 1; }
#build-anything .try button:focus-visible { outline: 2px solid #0068d6; outline-offset: 2px; }
@media (prefers-color-scheme: dark) {
  #build-anything .try button { background: rgba(255,255,255,.08); color: #d4d4d8; }
  #build-anything .try button:hover { background: rgba(255,255,255,.13); color: #fff; }
  #build-anything .try button[aria-pressed="true"] { background: rgba(90,169,255,.18); color: #8cc4ff; }
}
