/* Glass Object Library website. A light, pearl world with soft moving colour, where the glass is the star.
   Never put glass on a blue ground: it disappears. The washes here stay pale lilac, mint and peach. */

:root {
  --bg: #f8f6f3;
  --bg-2: #ffffff;
  --panel: rgba(255, 255, 255, .62);
  --panel-2: rgba(16, 14, 34, .05);
  --line: rgba(16, 14, 34, .09);
  --line-2: rgba(16, 14, 34, .16);
  --text: #100e22;
  --muted: rgba(16, 14, 34, .68);
  --faint: rgba(16, 14, 34, .54);
  --accent: #6a3df0;
  --ink: #ffffff;
  --card: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .55));
  --shadow: 0 18px 50px -28px rgba(50, 30, 120, .28);
  --r-lg: 32px;
  --r: 20px;
  --r-sm: 12px;
  --wrap: 1280px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; color: var(--text); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 64px); margin-inline: auto; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.h2 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.h2 em { font-size: 1.08em; }
.lede { color: var(--muted); max-width: 52ch; }

/* The sky behind everything */
.sky { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(120% 90% at 50% -10%, #ffffff 0%, #fbf9f6 46%, var(--bg) 80%); }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.aurora.a { width: 56vw; height: 56vw; left: -14vw; top: -16vw; background: radial-gradient(closest-side, #cdbcff, #e3dafe 60%, transparent); opacity: .85; animation: drift-a 26s ease-in-out infinite alternate; }
.aurora.b { width: 46vw; height: 46vw; right: -12vw; top: 18vh; background: radial-gradient(closest-side, #b6efd9, #dcf7ec 60%, transparent); opacity: .8; animation: drift-b 32s ease-in-out infinite alternate; }
.aurora.c { width: 40vw; height: 40vw; left: 26vw; bottom: -24vw; background: radial-gradient(closest-side, #ffd3bd, #ffe7da 60%, transparent); opacity: .85; animation: drift-c 38s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(12vw, 10vh) scale(1.16); } }
@keyframes drift-b { to { transform: translate(-14vw, -8vh) scale(.9); } }
@keyframes drift-c { to { transform: translate(-10vw, -14vh) scale(1.2); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.spot { position: fixed; left: 0; top: 0; z-index: -1; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(150, 120, 255, .16), transparent 70%); will-change: transform; }

/* Glass objects: plain still pictures. Not draggable, not selectable (this only stops casual saving). */
.pic { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease); will-change: transform; }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-main { background: var(--text); color: var(--ink); }
.btn-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform .4s var(--ease); }
.btn-main:hover::before { transform: none; }
.btn-line { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .6); backdrop-filter: blur(10px); }
.btn-line::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text); transform: translateY(101%); transition: transform .4s var(--ease); }
.btn-line:hover { color: var(--ink); }
.btn-line:hover::before { transform: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* Floating menu */
.nav { position: fixed; top: 18px; left: 50%; z-index: 50; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; width: max-content; max-width: calc(100% - 24px); padding: 7px 7px 7px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .68); box-shadow: var(--shadow); backdrop-filter: blur(20px) saturate(1.6); }
.logo { display: inline-flex; align-items: center; gap: 9px; margin-right: 18px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.logo-mark { display: block; width: 32px; margin: -3px -2px; }
.nav-links { display: flex; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
.nav .btn { margin-left: 8px; }
.menu { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); place-items: center; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 640px; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 84px 0 30px; overflow: clip; }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 0; }
.hero-gem { position: relative; width: min(46vh, 52vw, 520px); will-change: transform; }
.hero-gem::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 120, 255, .32), rgba(255, 170, 200, .16) 55%, transparent 72%); }
.halo { position: absolute; left: 50%; top: 50%; width: min(86vh, 90vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--line); }
.halo::after { content: ""; position: absolute; inset: 13%; border-radius: 50%; border: 1px dashed var(--line); }
.float { position: absolute; width: clamp(92px, 11vw, 168px); will-change: transform; }
.float.f1 { left: 7%; top: 8%; }
.float.f2 { left: 16%; top: 52%; width: clamp(110px, 13vw, 196px); }
.float.f3 { right: 8%; top: 4%; width: clamp(100px, 12vw, 180px); }
.float.f4 { right: 15%; top: 50%; width: clamp(116px, 14vw, 206px); }
.float.f5 { left: 30%; top: -2%; width: clamp(70px, 8vw, 118px); }
.float.f6 { right: 29%; top: 72%; width: clamp(70px, 8vw, 118px); }
.hero-copy { position: relative; text-align: center; }
.hero h1 { max-width: 16ch; margin: 0 auto; font-size: clamp(42px, min(6.4vw, 10.5vh), 104px); line-height: .98; letter-spacing: -.05em; font-weight: 500; }
.hero h1 em { font-size: 1.1em; color: var(--accent); }
.hero .lede { margin: 12px auto 0; text-align: center; font-size: clamp(16px, 1.4vw, 19px); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* Word band */
.band { padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; }
.band-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.band-track span { display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; font-family: var(--serif); font-style: italic; font-size: clamp(38px, 5vw, 72px); line-height: 1.1; white-space: nowrap; }
.band-track i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.sec { position: relative; padding: clamp(96px, 13vw, 190px) 0; }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); max-width: 920px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Statement */
.statement p { max-width: 21ch; font-size: clamp(36px, 6vw, 92px); line-height: 1.12; letter-spacing: -.035em; font-weight: 500; }
.statement em { font-size: 1.08em; }
.word { display: inline-block; }
.inl { display: inline-block; width: 1.3em; min-width: 84px; vertical-align: -.34em; margin: -.2em .08em; }
.inl .pic { display: block; }

/* Pinned scene */
.scene { position: relative; }
.scene-in { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.scene-object { position: relative; justify-self: center; width: min(74vh, 100%); }
#scene-pics { position: relative; }
#scene-pics .pic { position: relative; }
#scene-pics .pic + .pic { position: absolute; inset: 0; opacity: 0; }
.scene-ring { position: absolute; inset: -6%; border-radius: 50%; border: 1px solid var(--line); }
.scene-ring b { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px var(--accent); }
.steps { position: relative; display: grid; }
.step { grid-area: 1 / 1; display: grid; align-content: center; gap: 18px; }
.step h3 { font-size: clamp(36px, 4.6vw, 70px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.step h3 em { font-size: 1.08em; }
.step ul { display: grid; gap: 8px; margin-top: 6px; color: var(--muted); font-size: 16px; }
.step li { display: flex; gap: 10px; }
.step li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--accent); }
.bar { position: absolute; left: 0; bottom: -42px; display: flex; gap: 8px; }
.bar i { width: 42px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.bar i::after { content: ""; display: block; height: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }
code, pre { font-family: var(--mono); }
.snippet { margin-top: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #15132a; font-size: 13px; line-height: 1.7; color: #e9e8e2; overflow-x: auto; }

/* Live wall */
.wall { position: relative; height: 140vh; overflow: clip; mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.wall-cols { position: absolute; inset: -6% 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 0 16px; }
.wall-col { display: grid; align-content: start; gap: 16px; will-change: transform; }
.tile { position: relative; display: block; padding: 11%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.tile:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tile b { position: absolute; left: 14px; bottom: 11px; font: 400 12px var(--mono); color: var(--faint); opacity: 0; transform: translateY(5px); transition: .3s var(--ease); }
.tile:hover b { opacity: 1; transform: none; }

/* Industries: panels that stack */
.stack { display: grid; gap: 22px; }
.panel { position: sticky; top: calc(92px + var(--i) * 14px); display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(640px, 76vh); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--tone); transform-origin: 50% 0; box-shadow: 0 -18px 50px -20px rgba(50, 30, 120, .22); will-change: transform; }
.panel-copy { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 56px); }
.panel-copy .label { color: var(--muted); }
.panel-copy h3 { margin: auto 0 14px; font-size: clamp(44px, 6.4vw, 100px); line-height: .98; letter-spacing: -.045em; font-weight: 500; }
.panel-copy h3 em { font-size: 1.08em; }
.panel-copy p { color: var(--muted); max-width: 38ch; }
.panel-copy .btn { align-self: flex-start; margin-top: 26px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(16, 14, 34, .07); border-left: 1px solid var(--line); }
.panel-grid a { display: grid; place-items: center; padding: 12%; background: var(--tone); transition: background .3s; }
.panel-grid a:hover { background: color-mix(in srgb, var(--tone) 86%, #fff); }
.more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--muted); transition: .25s var(--ease); }
.chip b { font: 400 12px var(--mono); color: var(--faint); }
.chip:hover, .chip[aria-pressed="true"] { color: var(--ink); background: var(--text); border-color: var(--text); }
.chip:hover b, .chip[aria-pressed="true"] b { color: rgba(255, 255, 255, .72); }

/* Numbers */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.num { padding: clamp(28px, 4vw, 56px) clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.num:first-child { border-left: 0; }
.num b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(56px, 8.4vw, 132px); line-height: 1; letter-spacing: -.02em; }
.num span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Cards with a light that follows the mouse */
.glow { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.glow::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(106, 61, 240, .1), transparent 70%); }
.glow:hover::before { opacity: 1; }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool { display: flex; flex-direction: column; gap: 14px; padding: 28px; min-height: 420px; }
.tool .ico { width: 150px; margin: -8px 0 6px -10px; }
.tool .ico .pic { width: 100%; }
.tool h3 { font-size: 28px; line-height: 1.1; letter-spacing: -.03em; font-weight: 500; }
.tool p { color: var(--muted); font-size: 16px; }
.tool .snippet { margin-top: auto; }
.copy { align-self: flex-start; margin-top: auto; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.prices.one { grid-template-columns: minmax(0, 520px); justify-content: center; }
.small-print { max-width: 520px; margin: 22px auto 0; text-align: center; font-size: 14px; color: var(--faint); }
.draft-ph { display: inline-block; padding: 3px 10px; border: 1px dashed #b4690e; border-radius: 6px; background: #fff4e0; color: #7a4607; font: 500 12px var(--mono); }
.price .draft-ph { align-self: flex-start; margin-top: 12px; }
.price .cost .draft-ph { font-size: 16px; font-style: normal; vertical-align: middle; }
.draftbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 8px 16px; background: #fff4e0; border-top: 1px solid #b4690e; color: #7a4607; text-align: center; font: 500 12px var(--mono); }
.price { display: flex; flex-direction: column; padding: 30px; }
.price.top { border-color: var(--accent); background: linear-gradient(170deg, rgba(106, 61, 240, .1), rgba(255, 255, 255, .7) 45%); }
.price .obj { width: 124px; margin: -6px 0 8px -6px; }
.price h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.price .tag { color: var(--muted); font-size: 15px; }
.price .cost { margin: 18px 0 2px; font-family: var(--serif); font-style: italic; font-size: 76px; line-height: 1; }
.price .once { font: 400 12px var(--mono); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.price ul { display: grid; gap: 10px; margin: 22px 0 28px; font-size: 15px; color: var(--muted); }
.price li { display: flex; gap: 10px; }
.price li::before { content: "✓"; color: var(--accent); }
.price li.no { color: var(--faint); }
.price li.no::before { content: "–"; color: var(--faint); }
.price .btn { margin-top: auto; }
table.compare { width: 100%; margin-top: 56px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 400; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); }
.compare thead th { font: 400 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 22px; height: 22px; margin-top: 4px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: none; }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); }

/* Finale and footer */
.finale { position: relative; padding: clamp(110px, 15vw, 210px) 0 0; text-align: center; overflow: clip; }
.finale h2 { font-size: clamp(52px, 10vw, 168px); line-height: .96; letter-spacing: -.05em; font-weight: 500; }
.finale h2 em { font-size: 1.08em; color: var(--accent); }
.finale .hero-cta { margin-top: 34px; }
.rise { position: relative; width: min(74vw, 760px); margin: 56px auto -24%; }
.foot { position: relative; z-index: 2; padding: 44px 0 30px; border-top: 1px solid var(--line); background: var(--bg); font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr 1fr; gap: 28px; }
.foot .label { display: block; margin-bottom: 10px; }
.foot a:not(.logo) { display: block; padding: 4px 0; color: var(--muted); }
.foot a:not(.logo):hover { color: var(--text); }
.foot p { max-width: 30ch; margin-top: 12px; color: var(--muted); }
.foot-end { margin-top: 34px; font: 400 12px var(--mono); color: var(--faint); }

/* Page tops */
.page-top { padding: 150px 0 40px; }
.page-top h1 { font-size: clamp(46px, 7.4vw, 112px); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.page-top h1 em { font-size: 1.08em; color: var(--accent); }
.page-top .lede { margin-top: 16px; font-size: 19px; }

/* Library */
.lib { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; padding-bottom: 120px; }
.side { position: sticky; top: 92px; display: grid; gap: 22px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(16, 14, 34, .18) transparent; }
.side .label { margin-bottom: 6px; }
.side button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 15px; text-align: left; transition: .2s; }
.side button b { font: 400 12px var(--mono); color: var(--faint); align-self: center; }
.side button:hover { background: var(--panel-2); color: var(--text); }
.side button[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.side button[aria-pressed="true"] b { color: rgba(255, 255, 255, .72); }
.lib-bar { position: sticky; top: 86px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .72); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.lib-search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; }
.lib-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: none; }
.lib-search input::placeholder { color: var(--faint); }
.lib-count { padding: 0 10px; font: 400 12px var(--mono); color: var(--faint); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.card { position: relative; display: block; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); transition: border-color .25s, transform .3s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card .obj { padding: 12%; }
.card .meta { display: flex; justify-content: space-between; gap: 8px; padding: 0 14px 12px; font-size: 14px; color: var(--muted); }
.free { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--ink); font: 500 11px var(--mono); }
.none { padding: 80px 0; text-align: center; color: var(--muted); }

/* Object window */
.win { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; background: rgba(236, 232, 244, .66); backdrop-filter: blur(14px); }
.win.open { display: grid; }
.win-box { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; width: min(1120px, 100%); max-height: calc(100svh - 40px); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 40px 90px -40px rgba(50, 30, 120, .4); }
.win-stage { position: relative; display: grid; place-items: center; min-height: 520px; padding: 6% 6% 14%; background: #f6f3fb; transition: background .35s; }
.win-angles { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(255, 255, 255, .7); }
.win-stage.dark .win-angles { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.win-stage.dark .win-angles button { color: rgba(245, 244, 239, .72); }
.win-stage.dark .win-angles button[aria-pressed="true"] { background: #f6f3fb; color: #100e22; }
.win-stage.dark { background: #0b0d15; }
#win-host { width: min(100%, 560px); }
.win-side { display: flex; flex-direction: column; gap: 16px; padding: 34px 30px; border-left: 1px solid var(--line); overflow-y: auto; }
.win-side h2 { font-size: 40px; line-height: 1.04; letter-spacing: -.035em; font-weight: 500; }
.win-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.win-tags span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
.seg { display: inline-flex; align-self: flex-start; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.seg button { padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.win-side .btn { width: 100%; }
.win-note { font-size: 14px; color: var(--faint); }
.win-close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .85); display: grid; place-items: center; }

/* Text pages */
.prose { max-width: 720px; padding-bottom: 120px; color: var(--muted); }
.prose h2 { margin: 40px 0 10px; color: var(--text); font-size: 26px; letter-spacing: -.02em; font-weight: 500; }
.prose li { position: relative; padding: 4px 0 4px 18px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose .draft { margin-bottom: 24px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 15px; }

/* On dark: a dark band showing the same transparent files on a dark page. Near-black with a violet glow, never blue. */
.dark { position: relative; margin: clamp(40px, 6vw, 90px) 16px 0; padding: clamp(80px, 10vw, 150px) 0 clamp(64px, 8vw, 110px); border-radius: 40px; color: #f4f2fb; overflow: clip;
  background: radial-gradient(60% 55% at 18% 0%, rgba(124, 76, 255, .30), transparent 70%), radial-gradient(50% 50% at 92% 100%, rgba(70, 205, 160, .14), transparent 70%), #0b0a14; }
.dark .sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.dark .label { color: rgba(244, 242, 251, .62); }
.dark .h2 em { color: #b9a4ff; }
.dark .lede { color: rgba(244, 242, 251, .74); }
.dark-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(6px, 2vw, 28px); align-items: center; }
.dark-row .pic { width: 100%; filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .5)); transition: transform .5s var(--ease); }
.dark-row > div:hover .pic { transform: translateY(-8px) scale(1.04); }
.dark-note { margin-top: clamp(28px, 4vw, 48px); text-align: center; }

/* Object, industry and section pages (search pages: plain, crawlable HTML) */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font: 400 13px var(--mono); color: var(--faint); }
.crumbs a:hover { color: var(--text); }
.op { padding: 130px 0 120px; }
.op-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.op-stage .card:hover { transform: none; }
.op-angles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.op-side { display: grid; gap: 18px; }
.op h1 { font-size: clamp(38px, 5vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.op h1 em { color: var(--accent); font-size: 1.06em; }
.op-text { color: var(--muted); max-width: 56ch; }
.op-more { margin: clamp(56px, 8vw, 100px) 0 22px; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.035em; font-weight: 500; }
.win-tags a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
.win-tags a:hover { color: var(--text); border-color: var(--line-2); }
.az { columns: 4 220px; column-gap: 28px; }
.az li { break-inside: avoid; padding: 3px 0; }
.az a { color: var(--muted); }
.az a:hover { color: var(--text); }
.page-top .hero-cta, .op .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Before motion runs, so nothing flashes */
.js [data-rise] { opacity: 0; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .logo { margin-right: 6px; }
  .menu { display: grid; }
  .nav.open { flex-wrap: wrap; border-radius: 24px; }
  .nav.open .nav-links { display: grid; order: 3; width: 100%; padding: 8px 0 4px; }
  .nav.open .nav-links a { font-size: 16px; }
  .scene-in { grid-template-columns: 1fr; min-height: 0; gap: 16px; }
  .steps { display: grid; gap: 56px; }
  .step { grid-area: auto; }
  .bar { display: none; }
  .scene-object { width: min(70vw, 420px); }
  .panel { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .panel-copy h3 { margin-top: 56px; }
  .panel-grid { border-left: 0; border-top: 1px solid var(--line); }
  .tools, .prices { grid-template-columns: 1fr; }
  .dark-row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tool { min-height: 0; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(3) { border-left: 0; }
  .num:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .faq { grid-template-columns: 1fr; gap: 16px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .lib { grid-template-columns: 1fr; }
  .op-grid { grid-template-columns: 1fr; }
  .side { position: static; display: flex; max-height: none; overflow-x: auto; overflow-y: hidden; gap: 6px; padding-bottom: 6px; }
  .side > div { display: contents; }
  .side .label { display: none; }
  .side button { flex: none; width: auto; border: 1px solid var(--line); border-radius: 999px; }
  .lib-bar { top: 78px; }
  .win-box { grid-template-columns: 1fr; overflow-y: auto; }
  .win-stage { min-height: 320px; }
  .win-side { border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .dark { margin-inline: 8px; border-radius: 28px; }
  .wall-cols { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 10px; }
  .wall-col:nth-child(n + 4) { display: none; }
  .wall { height: 110vh; }
  .float.f5, .float.f6 { display: none; }
  .float.f1 { left: 0; top: 2%; }
  .float.f2 { left: -4%; top: 60%; }
  .float.f3 { right: 0; top: 0; }
  .float.f4 { right: -4%; top: 60%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nav .btn { display: none; }
  .nav { padding-left: 14px; width: calc(100% - 24px); justify-content: space-between; }
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 12px 6px; }
  .btn { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rise] { opacity: 1; }
}
