/* Layout: one 1120px column, left-aligned. Type does the talking (510 weight, tight tracking,
   two-tone headings); every feature is shown as a real RayMate screen in a dark framed panel
   that fades into the page. Hairlines instead of boxes, one blue from the app icon used only
   where RayMate itself uses it (selection, focus). Dark only, like the app. */
:root {
  color-scheme: dark;
  --bg: #08090a;
  --panel: #0f1011;
  --panel-2: #151617;
  --raise: #1c1d1f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f7f8f8;
  --dim: #8a8f98;
  --faint: #62666d;
  --accent: #0b72e8;
  --accent-text: #6fb0ff;
  --sel: rgba(11, 114, 232, 0.22);
  --ok: #4cb782;
  --warn: #f2b13d;
  --bad: #eb5757;
  --btn: #e6e6e6;
  --btn-text: #08090a;

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --measure: 1120px;
  --r-control: 6px;
  --r-panel: 12px;
  --section: clamp(96px, 11vw, 144px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 var(--sans);
  font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: calc(var(--measure) + 48px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 560px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.6vw, 76px); line-height: 1.04; letter-spacing: -0.028em; }
h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -0.026em; }
h2 .dim, h1 .dim { color: var(--dim); }
h3 { font-size: 15px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 590; }
p { margin: 0; }
.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--dim); max-width: 46ch; letter-spacing: -0.008em; }
.copy { color: var(--dim); font-size: 14.5px; line-height: 1.6; max-width: 40ch; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 510; color: var(--dim); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--faint); }
.new { font-size: 12px; font-weight: 590; color: #ff9f0a; }
.kbd { font: 500 11px/1 var(--sans); color: var(--dim); border: 1px solid var(--line-2); background: var(--panel-2); border-radius: 4px; padding: 3px 5px; white-space: nowrap; }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-control); background: var(--btn); color: var(--btn-text); font: 510 14px/1 var(--sans); border: 0; cursor: pointer; transition: background .16s ease; }
.btn:hover { background: #ffffff; }
.btn--small { height: 32px; padding: 0 12px; font-size: 13px; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: var(--panel-2); }
.link { color: var(--dim); font-size: 14px; font-weight: 510; display: inline-flex; gap: 6px; align-items: center; transition: color .16s; }
.link:hover { color: var(--text); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(8, 9, 10, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 590; font-size: 15px; letter-spacing: -0.01em; }
.brand img { width: 22px; height: 22px; }
.nav__links { display: flex; gap: 24px; font-size: 13.5px; color: var(--dim); margin-right: auto; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav__links { display: none; } .nav .wrap { justify-content: space-between; } }

/* ---------- Sections ---------- */
section { padding-block: var(--section) 0; }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 32px 64px; }
.head--split .copy { justify-self: start; }
@media (max-width: 820px) { .head--split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(72px, 10vw, 128px); }
.hero__copy { display: grid; gap: 24px; max-width: 820px; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; }
.hero__meta { font-size: 13px; color: var(--faint); }
.hero__meta a { color: var(--dim); }
.hero__meta a:hover { color: var(--text); }

/* Product screen frame: the signature device. */
.screen { position: relative; border-radius: var(--r-panel); background: var(--panel); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px var(--line), 0 40px 80px -20px rgba(0,0,0,0.6); overflow: hidden; }
.screen--fade { -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
.hero__stage { margin-top: clamp(56px, 7vw, 88px); position: relative; }
.hero__screen { height: clamp(440px, 52vw, 600px); background: radial-gradient(120% 90% at 70% 0%, #17191d 0%, #0d0e10 60%); }

/* Mail window behind the launcher */
.mail { position: absolute; inset: 28px 28px 0 28px; border-radius: 10px 10px 0 0; background: #121315; box-shadow: 0 0 0 1px var(--line); display: grid; grid-template-columns: 170px 260px minmax(0, 1fr); grid-template-rows: 36px 1fr; overflow: hidden; opacity: .78; }
.chrome { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; padding-inline: 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #2a2b2e; }
.chrome span { margin-left: 12px; }
.mail__side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 2px; font-size: 12.5px; color: var(--dim); }
.mail__side b { font-size: 11px; font-weight: 590; color: var(--faint); padding: 4px 8px; }
.mail__side span { display: flex; justify-content: space-between; padding: 5px 8px; border-radius: 5px; }
.mail__side span.on { background: rgba(255,255,255,0.06); color: var(--text); }
.mail__list { border-right: 1px solid var(--line); display: grid; align-content: start; }
.msg { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; font-size: 12px; color: var(--faint); }
.msg b { font-size: 12.5px; color: var(--text); font-weight: 590; display: flex; justify-content: space-between; }
.msg b small { font-weight: 400; color: var(--faint); font-size: 11px; }
.msg span { color: var(--dim); }
.msg.on { background: rgba(255,255,255,0.04); }
.mail__read { padding: 22px 28px; display: grid; align-content: start; gap: 12px; font-size: 13px; color: var(--dim); }
.mail__read h4 { margin: 0; font-size: 17px; font-weight: 590; color: var(--text); letter-spacing: -0.01em; }
.mail__read mark { background: var(--sel); color: var(--text); border-radius: 2px; padding: 1px 0; }

/* The launcher */
.launcher { position: absolute; left: 50%; top: 84px; transform: translateX(-50%); width: min(640px, calc(100% - 40px)); border-radius: 14px; background: rgba(24, 25, 28, 0.86); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(255,255,255,0.10), 0 30px 70px rgba(0,0,0,0.55); overflow: hidden; }
.l-search { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.l-search img { width: 24px; height: 24px; }
.l-query { flex: 1; min-width: 0; font-size: 17px; letter-spacing: -0.01em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -0.15em; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.l-ctx { display: flex; align-items: center; gap: 8px; padding: 10px 16px 0; font-size: 12px; color: var(--faint); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 5px; background: rgba(255,255,255,0.06); color: var(--dim); font-size: 11.5px; }
.chip img { width: 14px; height: 14px; }
.l-answer { padding: 12px 16px 16px; display: grid; gap: 7px; font-size: 14px; line-height: 1.55; color: #d6d8dc; }
.l-answer ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.l-answer li::marker { color: var(--faint); }
.l-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px 9px 16px; border-top: 1px solid var(--line); background: rgba(255,255,255,0.02); font-size: 12px; color: var(--faint); }
.l-foot__acts { display: flex; gap: 14px; align-items: center; }
.l-foot__acts span { display: inline-flex; gap: 6px; align-items: center; color: var(--dim); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 6px; }

@media (max-width: 820px) {
  .mail { grid-template-columns: 0 220px minmax(0, 1fr); }
  .mail__side { display: none; }
}
@media (max-width: 560px) {
  .mail { grid-template-columns: minmax(0, 1fr); inset: 16px 12px 0; }
  .mail__list { display: none; }
  .launcher { top: 64px; }
  .l-foot__acts span:first-child { display: none; }
}

/* Facts strip under the hero */
.facts { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts div { padding: 20px 20px 0 0; display: grid; gap: 2px; }
.facts b { font-weight: 510; font-size: 14px; }
.facts span { color: var(--faint); font-size: 13px; }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }

/* ---------- Core: three columns split by hairlines ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trio article { padding: 28px 28px 32px; display: grid; gap: 10px; align-content: start; }
.trio article + article { border-left: 1px solid var(--line); }
.trio article:first-child { padding-left: 0; }
.trio article:last-child { padding-right: 0; }
.trio .vis { height: 190px; margin-bottom: 18px; border-radius: 10px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); padding: 16px; display: grid; align-content: center; gap: 10px; overflow: hidden; }
@media (max-width: 820px) {
  .trio { grid-template-columns: 1fr; }
  .trio article { padding-inline: 0; }
  .trio article + article { border-left: 0; border-top: 1px solid var(--line); }
}
.ask { justify-self: end; max-width: 88%; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 12px 12px 4px 12px; font-size: 13px; line-height: 1.4; }
.answer { font-size: 12.5px; line-height: 1.55; color: #c9ccd1; }
.model { font-size: 11px; color: var(--faint); font-family: var(--mono); }
.hud { display: flex; align-items: center; gap: 12px; background: var(--raise); border-radius: 999px; padding: 9px 16px; width: fit-content; box-shadow: 0 0 0 1px var(--line-2); justify-self: center; }
.wave { display: flex; align-items: center; gap: 3px; height: 20px; }
.wave i { width: 3px; border-radius: 2px; background: var(--text); animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.hud small { font-size: 12px; color: var(--dim); }
.typed { font-size: 13px; color: #c9ccd1; text-align: center; }
.diff { font-size: 13.5px; line-height: 1.9; color: #c9ccd1; }
.diff del { color: var(--faint); }
.diff ins { color: var(--ok); text-decoration: none; }
.vis__foot { display: flex; justify-content: flex-end; gap: 14px; font-size: 11.5px; color: var(--faint); }
.vis__foot span { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Extensions grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ext { padding: 22px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; transition: background .2s ease; }
.ext:hover { background: rgba(255, 255, 255, 0.025); }
.ext__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ext svg { width: 18px; height: 18px; color: var(--dim); }
.ext p { color: var(--faint); font-size: 13px; line-height: 1.5; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Spotlights ---------- */
.clip { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 420px; }
.p-search { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--faint); }
.p-search .types { margin-left: auto; font-size: 12px; color: var(--dim); border: 1px solid var(--line-2); border-radius: 5px; padding: 3px 8px; }
.c-list { list-style: none; margin: 0; padding: 8px; border-right: 1px solid var(--line); display: grid; gap: 2px; align-content: start; }
.c-row { width: 100%; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.c-row:hover { background: rgba(255,255,255,0.04); }
.c-row[aria-selected="true"] { background: rgba(255,255,255,0.08); }
.c-row .t { display: block; font-size: 13px; font-weight: 510; }
.c-row .s { display: block; font-size: 11.5px; color: var(--faint); }
.c-ic { width: 32px; height: 32px; border-radius: 6px; flex: none; display: grid; place-items: center; background: var(--raise); overflow: hidden; }
.c-ic img { width: 28px; height: 28px; }
.c-ic svg { width: 15px; height: 15px; color: var(--dim); }
.swatch { background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.shot { position: relative; width: 100%; height: 100%; background: linear-gradient(160deg, #1f2b44, #0d1424); }
.shot i { position: absolute; border-radius: 2px; background: rgba(255,255,255,.18); }
.shot .b1 { left: 10%; top: 14%; width: 46%; height: 9%; background: rgba(255,255,255,.55); }
.shot .b2 { left: 10%; top: 32%; width: 76%; height: 6%; }
.shot .b3 { left: 10%; top: 44%; width: 62%; height: 6%; }
.shot .b4 { left: 10%; top: 62%; width: 36%; height: 20%; background: rgba(11,114,232,.6); }
.shot .b5 { left: 52%; top: 62%; width: 36%; height: 20%; background: rgba(255,255,255,.1); }
.c-detail { padding: 22px; display: grid; grid-template-rows: 1fr auto; gap: 18px; min-width: 0; }
.c-view { display: grid; place-items: center; min-height: 200px; border-radius: 8px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); padding: 18px; font-size: 13px; color: var(--dim); text-align: center; }
.c-view .big-shot { width: 100%; max-width: 360px; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2); }
.c-view .big-swatch { width: 96px; height: 96px; border-radius: 18px; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); margin: 0 auto 10px; }
.c-view .big-file { width: 72px; height: 72px; margin: 0 auto 8px; }
.c-info { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 16px; font-size: 12.5px; }
.c-info dt { color: var(--faint); }
.c-info dd { margin: 0; text-align: right; color: var(--dim); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .clip { grid-template-columns: minmax(0, 1fr); }
  .c-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .c-detail { display: none; }
}

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pair > div { display: grid; gap: 18px; align-content: start; }
.pair .screen { padding: 18px; display: grid; gap: 12px; align-content: start; min-height: 330px; }
.pair .copyblock { display: grid; gap: 10px; padding-top: 10px; }
@media (max-width: 820px) { .pair { grid-template-columns: 1fr; gap: 56px; } }
.applet { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 510; }
.applet small { display: block; font-size: 11.5px; font-weight: 400; color: var(--faint); }
.applet .kbd { margin-left: auto; }
.code { font: 400 12px/1.75 var(--mono); color: #c9ccd1; background: #0a0b0c; border-radius: 8px; padding: 12px 14px; white-space: pre; overflow-x: auto; box-shadow: inset 0 0 0 1px var(--line); }
.code .k { color: var(--accent-text); }
.u-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
.u-row b { font-weight: 510; display: flex; gap: 8px; align-items: center; }
.u-row small { display: block; color: var(--faint); font-size: 11.5px; }
.u-row .size { margin-left: auto; color: var(--dim); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.u-row.off { opacity: .55; }
.chk { width: 15px; height: 15px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.chk.on { background: var(--accent); box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E"); }
.pill { font-size: 11.5px; font-weight: 510; color: var(--warn); }
.u-foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding-top: 6px; font-size: 12.5px; color: var(--dim); }

/* ---------- Widgets desktop ---------- */
.desk { position: relative; height: clamp(460px, 48vw, 540px); background: radial-gradient(90% 80% at 20% 10%, #1b2436 0%, #0e1320 45%, #0a0c12 100%); }
.menubar { position: absolute; inset: 0 0 auto; height: 28px; display: flex; align-items: center; justify-content: space-between; padding-inline: 14px; font-size: 12px; color: rgba(255,255,255,.82); background: rgba(10, 12, 18, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.menubar span { display: inline-flex; gap: 16px; align-items: center; }
.menubar img { width: 14px; height: 14px; }
.icons { position: absolute; top: 48px; right: 18px; display: grid; gap: 14px; justify-items: center; width: 92px; }
.dicon { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: rgba(255,255,255,.9); text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.dicon img { width: 44px; height: 44px; }
.dicon span { max-width: 88px; line-height: 1.3; }
.widget { position: absolute; border-radius: 16px; background: rgba(22, 24, 30, .72); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.09), 0 18px 40px rgba(0,0,0,.4); padding: 14px 16px; display: grid; gap: 10px; font-size: 12.5px; }
.w-head { display: flex; justify-content: space-between; gap: 16px; font-size: 11.5px; color: var(--faint); font-weight: 510; }
.w-score { left: 40px; top: 64px; width: 260px; }
.sb { display: grid; gap: 4px; }
.sb div { display: flex; justify-content: space-between; font-size: 15px; font-weight: 510; }
.sb div:last-child { color: var(--dim); }
.live { color: var(--bad); }
.w-fx { left: 330px; top: 64px; width: 220px; }
.fx { display: grid; gap: 6px; }
.fx div { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; font-variant-numeric: tabular-nums; }
.fx b { font-weight: 590; }
.up { color: var(--ok); }
.down { color: var(--bad); }
.w-disk { left: 40px; top: 230px; width: 260px; }
.bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar i { display: block; height: 100%; width: 68%; background: var(--text); border-radius: 3px; }
@media (max-width: 720px) {
  .icons { display: none; }
  .w-score, .w-fx, .w-disk { position: relative; left: auto; top: auto; width: auto; }
  .desk { height: auto; padding: 44px 16px 20px; display: grid; gap: 12px; }
}

/* ---------- Prompts ---------- */
.p-list { padding: 8px; display: grid; gap: 2px; }
.p-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 64px; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 7px; font-size: 13.5px; }
.p-row:first-child { background: rgba(255,255,255,0.06); }
.p-row .what { color: var(--faint); font-size: 12px; }
.p-row .kbd { justify-self: end; }
.p-ic { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: var(--raise); color: var(--dim); }
.p-ic svg { width: 14px; height: 14px; }

/* ---------- Free ---------- */
.free { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 64px; align-items: end; border-top: 1px solid var(--line); padding-top: 40px; }
.price { font-size: clamp(64px, 9vw, 112px); line-height: .9; letter-spacing: -0.045em; font-weight: 510; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.points li { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; font-weight: 510; font-size: 14.5px; }
.points svg { width: 16px; height: 16px; color: var(--dim); flex: none; }
@media (max-width: 820px) { .free { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .points { grid-template-columns: 1fr; } }

/* ---------- Get ---------- */
.get { padding-bottom: var(--section); }
.get__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px 64px; align-items: center; }
.dl { border-radius: var(--r-panel); background: var(--panel); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px var(--line); overflow: hidden; }
.dl__top { display: flex; align-items: center; gap: 14px; padding: 18px; }
.dl__top img { width: 52px; height: 52px; flex: none; }
.dl__info { display: grid; gap: 2px; min-width: 0; }
.dl__info b { font-weight: 590; font-size: 15px; }
.dl__info span { color: var(--faint); font-size: 12.5px; }
.dl__top .btn { margin-left: auto; flex: none; }
.brew { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 18px; border-top: 1px solid var(--line); background: rgba(255,255,255,0.015); }
.brew code { font: 400 12.5px/1.4 var(--mono); color: var(--dim); flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; }
.brew code::before { content: "$ "; color: var(--faint); }
.copy-btn { flex: none; font: 510 12px/1 var(--sans); color: var(--text); background: var(--raise); border: 0; border-radius: 5px; padding: 7px 10px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); }
.copy-btn:hover { background: #26282b; }
.get__note { margin-top: 14px; font-size: 13px; color: var(--faint); }
@media (max-width: 820px) { .get__inner { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .dl__top { flex-wrap: wrap; } .dl__top .btn { margin-left: 66px; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px 40px; font-size: 13px; color: var(--faint); }
footer .wrap > span { display: inline-flex; align-items: center; gap: 9px; }
footer img { width: 18px; height: 18px; }
footer nav { display: flex; gap: 22px; }
footer nav a:hover { color: var(--text); }

/* ---------- Motion: one rule, on load only ---------- */
.rise { animation: rise .7s cubic-bezier(0, 0, 0.2, 1) both; }
.rise--2 { animation-delay: .08s; }
.rise--3 { animation-delay: .18s; }
@keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise, .wave i, .caret { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Light, depth and color ---------- */
main { position: relative; z-index: 0; overflow-x: clip; }
.hero { position: relative; }
.hero::before { content: ""; position: absolute; left: 50%; top: -120px; width: min(1100px, 120%); height: 560px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 40%, rgba(255, 255, 255, 0.045), transparent 70%); pointer-events: none; z-index: -1; }

.hero__stage { perspective: 2200px; }
.hero__screen { transform-origin: 50% 0; animation: settle 1.6s .15s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes settle { from { transform: rotateX(20deg) scale(.94); } to { transform: none; } }
.hero__screen::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; z-index: 6; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); }

.glow { position: relative; }

/* ---------- Hero views ---------- */
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.slide .launcher, .slide .fixer, .slide .hud--big { transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.slide:not(.is-on) .launcher, .slide:not(.is-on) .hud--big { transform: translateX(-50%) translateY(14px) scale(.98); }
.slide:not(.is-on) .fixer { transform: translateY(14px) scale(.98); }

.win { position: absolute; inset: 28px 28px 0 28px; border-radius: 10px 10px 0 0; background: #121315; box-shadow: 0 0 0 1px var(--line); display: grid; grid-template-rows: 36px 1fr; overflow: hidden; opacity: .8; }
.chat { grid-template-columns: 240px minmax(0, 1fr); }
.chat__side { border-right: 1px solid var(--line); padding: 8px; display: grid; gap: 2px; align-content: start; }
.person { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; font-size: 12px; color: var(--faint); }
.person.on { background: rgba(255, 255, 255, .06); }
.person b { display: block; font-size: 12.5px; font-weight: 590; color: var(--text); }
.av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; background: hsl(var(--h) 55% 42%); }
.chat__main { padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.bub { max-width: 70%; padding: 8px 13px; border-radius: 16px; font-size: 13px; line-height: 1.45; }
.bub.them { align-self: flex-start; background: #26282c; color: var(--text); }
.bub.me { align-self: flex-end; background: var(--accent); color: #fff; }
.chat__input { margin-top: 14px; display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 18px; padding: 9px 14px; font-size: 13px; color: var(--text); }
.hud--big { position: absolute; left: 50%; top: 300px; transform: translateX(-50%); gap: 14px; padding: 12px 18px 12px 20px; background: rgba(30, 31, 34, .94); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 50px rgba(0, 0, 0, .5); }

.notes { grid-template-columns: 180px minmax(0, 1fr); }
.notes__side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 2px; align-content: start; font-size: 12.5px; color: var(--dim); }
.notes__side b { font-size: 11px; color: var(--faint); padding: 4px 8px; font-weight: 590; }
.notes__side span { padding: 5px 8px; border-radius: 5px; }
.notes__side span.on { background: rgba(242, 177, 61, .16); color: var(--text); }
.notes__body { padding: 26px 34px; display: grid; gap: 12px; align-content: start; font-size: 14px; line-height: 1.65; color: var(--dim); }
.notes__body h4 { margin: 0; font-size: 21px; font-weight: 600; color: var(--text); letter-spacing: -0.015em; }
.notes__body mark { background: var(--sel); color: var(--text); border-radius: 2px; }
.panel { border-radius: 14px; background: rgba(24, 25, 28, .9); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .10), 0 30px 70px rgba(0, 0, 0, .55); overflow: hidden; }
.fixer { position: absolute; right: 6%; top: 170px; width: min(460px, calc(100% - 40px)); }
.fixer__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.fixer__head b { font-weight: 590; }
.fixer__head .kbd { margin-left: auto; }
.fixer .diff { padding: 14px 16px; font-size: 14px; }

.desk-bg { position: absolute; inset: 0; background: radial-gradient(90% 80% at 20% 0%, #1b2436 0%, #0e1320 50%, #0a0c12 100%); display: grid; justify-content: end; align-content: start; gap: 16px; padding: 26px 30px; }
.l-list { padding: 6px 8px 8px; display: grid; gap: 1px; align-content: start; min-width: 0; }
.l-sec { font-size: 11.5px; font-weight: 590; color: var(--faint); padding: 8px 8px 4px; }
.l-row { display: flex; align-items: center; gap: 11px; padding: 7px 8px; border-radius: 7px; font-size: 13.5px; min-width: 0; }
.l-row > span:not(.p-ic):not(.mini-shot):not(.mini-swatch) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-row img { width: 26px; height: 26px; flex: none; }
.l-row small { display: block; font-size: 11.5px; color: var(--faint); }
.l-row em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--faint); flex: none; }
.l-row.on { background: rgba(255, 255, 255, .08); }
.l-query--dim { color: var(--faint); }
.launcher--wide { width: min(760px, calc(100% - 40px)); }
.l-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.l-preview { border-left: 1px solid var(--line); padding: 18px; display: grid; place-items: center; align-content: center; gap: 10px; font-size: 12px; color: var(--faint); }
.big-shot { width: 100%; max-width: 320px; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2); }
.mini-shot { width: 26px; height: 26px; border-radius: 5px; overflow: hidden; flex: none; display: block; }
.mini-swatch { width: 26px; height: 26px; border-radius: 6px; background: var(--accent); flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }

.tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid var(--line); }
.tab { position: relative; text-align: left; background: none; border: 0; color: var(--faint); padding: 16px 16px 0 0; font: inherit; cursor: pointer; display: grid; gap: 2px; }
.tab b { font-weight: 510; font-size: 14px; color: var(--dim); transition: color .2s; }
.tab span { font-size: 12.5px; }
.tab i { position: absolute; top: -1px; left: 0; right: 16px; height: 1px; transform-origin: left; }
.tab:hover b, .tab.is-on b { color: var(--text); }
.tab.is-on i { background: var(--text); animation: fill 6s linear both; }
.hero__stage:hover .tab.is-on i { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 820px) {
  .chat { grid-template-columns: minmax(0, 1fr); }
  .chat__side { display: none; }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .notes__side { display: none; }
  .fixer { left: 50%; right: auto; transform: translateX(-50%); }
  .slide:not(.is-on) .fixer { transform: translateX(-50%) translateY(14px); }
  .l-split { grid-template-columns: minmax(0, 1fr); }
  .l-preview { display: none; }
}
@media (max-width: 720px) {
  .tabs { display: flex; overflow-x: auto; gap: 22px; scrollbar-width: none; }
  .tab { flex: none; padding-right: 0; }
  .tab i { right: 0; }
  .tab span { display: none; }
  .desk-bg .dicon { display: none; }
}

/* ---------- Extension groups ---------- */
.group + .group { margin-top: 44px; }
.group__label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 13px; color: var(--text); font-weight: 510; margin-bottom: 14px; }
.group__label span { color: var(--faint); font-weight: 400; }
.ext { position: relative; }
.ext::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, .07), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.ext:hover::before { opacity: 1; }
.ext::before { background: rgba(255, 255, 255, .03); }
.ext__ic { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--c), #fff 14%), var(--c)); box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .3); }
.ext .ext__ic svg { width: 16px; height: 16px; color: inherit; }

/* ---------- App Switcher spotlight ---------- */
.switch { height: clamp(380px, 40vw, 440px); background: radial-gradient(90% 90% at 80% 0%, #1d2133 0%, #0f121b 50%, #0a0b10 100%); }
.sw { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: flex; gap: 14px; padding: 18px; border-radius: 22px; background: rgba(28, 29, 33, .72); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px rgba(0, 0, 0, .5); }
.tile { display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--dim); width: 148px; }
.thumb { width: 148px; height: 96px; border-radius: 8px; background: #17191c; box-shadow: 0 0 0 1px var(--line-2); overflow: hidden; display: grid; grid-template-rows: 12px 1fr; }
.thumb::before { content: ""; background: #222428; }
.thumb > div { padding: 8px; display: grid; gap: 5px; align-content: start; }
.thumb i { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.thumb i.a { background: rgba(11, 114, 232, .55); }
.thumb i.g { background: rgba(76, 183, 130, .5); }
.tile img { width: 26px; height: 26px; }
.tile.on { color: var(--text); }
.tile { padding: 8px; border-radius: 12px; width: 164px; }
.tile.on { background: rgba(255, 255, 255, .12); }
.pad { position: absolute; right: 26px; bottom: 24px; width: 150px; height: 96px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); }
.pad span { position: absolute; top: 38px; width: 13px; height: 13px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 0 12px rgba(150, 180, 255, .6); animation: slide3 3s ease-in-out infinite; }
.pad span:nth-child(1) { left: 34px; }
.pad span:nth-child(2) { left: 54px; top: 32px; }
.pad span:nth-child(3) { left: 74px; }
@keyframes slide3 { 0%, 15% { transform: translateX(0); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateX(34px); opacity: 1; } 85%, 100% { transform: translateX(34px); opacity: 0; } }
.pad-label { position: absolute; right: 26px; bottom: 128px; font-size: 11.5px; color: var(--faint); }
@media (max-width: 820px) { .tile:nth-child(n+4) { display: none; } }
@media (max-width: 560px) {
  .tile:nth-child(n+3) { display: none; }
  .tile { width: 132px; }
  .thumb { width: 116px; }
  .pad, .pad-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__screen, .tab.is-on i, .pad span { animation: none; }
  .slide, .slide .launcher, .slide .fixer, .slide .hud--big { transition: none; }
}

/* ---------- Trackpad gestures: a silver Magic Trackpad and a real hand ---------- */
.gestures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.gcard { margin: 0; border-radius: var(--r-panel); background: var(--panel); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px var(--line); overflow: hidden; display: grid; }
.gcard figcaption { padding: 16px 18px 18px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.gcard figcaption b { font-weight: 590; font-size: 14px; }
.gcard figcaption span { color: var(--faint); font-size: 13px; }
.tp-stage { position: relative; height: 250px; overflow: hidden; perspective: 900px; background: radial-gradient(80% 70% at 50% 35%, #1b1c1f, #0f1011 75%); }
.plane { position: absolute; left: 50%; top: 26px; width: 236px; height: 168px; margin-left: -118px; transform: rotateX(38deg); transform-origin: 50% 0; transform-style: preserve-3d; }
.tp { position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(180deg, #ececee 0%, #dcdde0 55%, #cfd0d4 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 -3px 0 rgba(0, 0, 0, .06), 0 2px 0 #a9aaae, 0 3px 0 #8e8f93, 0 24px 40px rgba(0, 0, 0, .6); overflow: hidden; }
.tp::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 38%); }
.tp--edge::after { content: ""; position: absolute; top: 14px; bottom: 14px; right: 6px; width: 3px; border-radius: 2px; background: rgba(0, 0, 0, .14); animation: edgeglow 3.2s ease-in-out infinite; }
@keyframes edgeglow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.ripple { position: absolute; left: 6px; top: 6px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .28); opacity: 0; animation: ripple 2.4s ease-out infinite; }
@keyframes ripple { 0%, 30% { transform: scale(.3); opacity: 0; } 34% { opacity: 1; } 70%, 100% { transform: scale(1.4); opacity: 0; } }

.hand { position: absolute; width: 150px; height: auto; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .35)) drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); transform-origin: 50% 0; }
.hand--three { left: 44px; top: 34px; animation: swipe 3.4s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes swipe { 0%, 8% { transform: translateX(-34px); } 46%, 58% { transform: translateX(34px); } 94%, 100% { transform: translateX(-34px); } }
.hand--edge { left: 176px; top: 28px; animation: edge 3.2s cubic-bezier(.45, 0, .35, 1) infinite; }
@keyframes edge { 0%, 100% { transform: translateY(46px); } 50% { transform: translateY(-6px); } }
.hand--tap { left: -6px; top: 6px; animation: tap 2.4s ease-in-out infinite; }
@keyframes tap { 0%, 20% { transform: translateY(-14px) scale(1.04); } 32%, 40% { transform: none; } 60%, 100% { transform: translateY(-14px) scale(1.04); } }

@media (max-width: 900px) { .gestures { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .hand, .ripple, .tp--edge::after { animation: none; }
  .hand--three { transform: none; }
}

/* ---------- v4 hero: centered, the launcher is the hero ---------- */
.hero { text-align: center; padding-top: clamp(64px, 9vw, 112px); }
.hero__copy { justify-items: center; margin-inline: auto; max-width: 880px; gap: 22px; }
.hero .eyebrow::before { display: none; }
.hero .eyebrow { font-size: 14px; }
.hero .lead { margin-inline: auto; max-width: 52ch; }
.hero__row { justify-content: center; margin-top: 6px; }
.hero__meta { margin-top: -6px; }
.hero__stage { margin-top: clamp(48px, 6vw, 72px); perspective: none; }
.facts { text-align: left; }

.mac { position: relative; height: clamp(440px, 46vw, 540px); border-radius: 16px; overflow: hidden; background: #05070c none center / cover no-repeat; box-shadow: 0 0 0 1px var(--line-2), 0 50px 100px -30px rgba(0, 0, 0, .8); text-align: left; }
.mac__bar { position: relative; z-index: 2; height: 26px; display: flex; justify-content: space-between; align-items: center; padding-inline: 14px; font-size: 12px; color: rgba(255, 255, 255, .88); background: rgba(0, 0, 0, .22); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.mac__bar > span { display: inline-flex; gap: 16px; align-items: center; white-space: nowrap; overflow: hidden; }
.mac__bar img { width: 14px; height: 14px; }

.rl { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); width: min(700px, calc(100% - 32px)); border-radius: 16px; background: rgba(32, 33, 36, .78); backdrop-filter: blur(40px) saturate(1.8); -webkit-backdrop-filter: blur(40px) saturate(1.8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px rgba(0, 0, 0, .55); overflow: hidden; }
.rl__search { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.rl__search img { width: 26px; height: 26px; flex: none; }
.rl__q { flex: 1; min-width: 0; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; display: flex; align-items: center; }
.rl__ph { color: rgba(255, 255, 255, .34); margin-left: -2px; }
.rl__q.has .rl__ph { display: none; }
.rl__body { height: 304px; overflow: hidden; padding: 6px 8px; }
.rl__sec { font-size: 11.5px; font-weight: 590; color: var(--faint); padding: 8px 10px 4px; }
.rl__row { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 8px; font-size: 14px; min-width: 0; }
.rl__row > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl__row.on { background: rgba(255, 255, 255, .1); }
.rl__row.press { background: rgba(255, 255, 255, .18); }
.rl__row img { width: 24px; height: 24px; flex: none; }
.rl__row small { color: var(--faint); font-size: 12.5px; margin-left: 8px; }
.rl__row em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--faint); flex: none; }
.tile-ic { width: 22px; height: 22px; margin: 1px; border-radius: 6px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--c), #fff 14%), var(--c)); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25); }
.tile-ic svg { width: 13px; height: 13px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; margin: 4px 2px 6px; padding: 20px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); text-align: center; }
.calc b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calc span { font-size: 12px; color: var(--faint); }
.calc i { font-style: normal; color: var(--faint); font-size: 18px; }
.ans { padding: 10px 10px 4px; display: grid; gap: 12px; font-size: 14px; line-height: 1.6; }
.ans__q { font-weight: 590; }
.ans__ctx { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--faint); }
.ans ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: #dadce0; }
.ans li::marker { color: var(--faint); }
.rl-clip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 100%; }
.rl-clip__pv { border-left: 1px solid rgba(255, 255, 255, .08); display: grid; place-items: center; align-content: center; gap: 10px; padding: 14px; font-size: 12px; color: var(--faint); }
.rl-fix { padding: 12px 10px; display: grid; gap: 14px; }
.rl-fix .diff { font-size: 15px; line-height: 1.75; }
.rl__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px 9px 16px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); font-size: 12.5px; color: var(--faint); }
.rl__foot > span { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.rl__foot .act { color: var(--text); }
.rl__foot .sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .12); }

.try { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.try button { font: 510 13px/1 var(--sans); color: var(--dim); background: transparent; border: 1px solid var(--line-2); border-radius: 6px; padding: 9px 12px; cursor: pointer; transition: background .16s, color .16s; }
.try button:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.try button.is-on { color: var(--text); background: rgba(255, 255, 255, .1); border-color: transparent; }

@media (max-width: 560px) {
  .rl { top: 9%; }
  .rl__q { font-size: 16px; }
  .rl__body { height: 280px; }
  .rl__search .kbd, .rl__foot .hide-sm, .mac__bar > span:first-child span { display: none; }
  .rl-clip { grid-template-columns: minmax(0, 1fr); }
  .rl-clip__pv { display: none; }
}

/* ---------- v4 gestures: a real hand on a Magic Trackpad, the Mac reacts live ---------- */
.gx { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.gx__mac { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #05070c none center / cover no-repeat; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, .7); }
.gx__desk { position: relative; min-height: 420px; border-radius: 14px; overflow: hidden; background: radial-gradient(90% 70% at 50% 30%, #1b1c1f 0%, #111214 60%, #0c0d0e 100%); box-shadow: 0 0 0 1px var(--line); }
.mtp { position: absolute; left: 50%; top: 56px; width: 340px; height: 236px; margin-left: -170px; border-radius: 18px; background: linear-gradient(160deg, #3a3b3f 0%, #2a2b2e 45%, #222326 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 0 #18191b, 0 3px 0 #101112, 0 30px 50px rgba(0, 0, 0, .55); }
.mtp::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(125deg, rgba(255, 255, 255, .08), transparent 40%); pointer-events: none; }
.hand-img { position: absolute; left: 0; top: 0; width: 230px; height: auto; transform-origin: 34% 8%; will-change: transform, filter; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 92%); mask-image: linear-gradient(to bottom, #000 62%, transparent 92%); pointer-events: none; }
.tdot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%); opacity: 0; z-index: 3; pointer-events: none; }
.edge-hint { position: absolute; left: 6px; top: 18px; bottom: 18px; width: 3px; border-radius: 2px; background: rgba(255, 255, 255, .5); opacity: 0; transition: opacity .25s; }
.ripple2 { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); opacity: 0; z-index: 3; }

.gx-sw { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.96); display: flex; gap: 6px; padding: 10px; border-radius: 18px; background: rgba(30, 31, 35, .72); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 50px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .2s, transform .2s; }
.gx-sw.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gx-tile { display: grid; justify-items: center; gap: 5px; padding: 6px; border-radius: 10px; font-size: 10.5px; color: var(--dim); width: clamp(68px, 9vw, 96px); }
.gx-tile.on { background: rgba(255, 255, 255, .14); color: var(--text); }
.gx-thumb { width: 100%; aspect-ratio: 16 / 10.5; border-radius: 5px; background: #17191c; box-shadow: 0 0 0 1px var(--line-2); padding: 6px; display: grid; gap: 4px; align-content: start; }
.gx-thumb i { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.gx-tile img { width: 22px; height: 22px; }
.gx-switched { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; font-size: 13px; font-weight: 510; color: #fff; opacity: 0; transition: opacity .25s; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.gx-switched img { width: 56px; height: 56px; }
.gx-switched.show { opacity: 1; }
.gx-vol { position: absolute; right: 14px; top: 38px; width: min(240px, 60%); display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; color: #fff; background: rgba(36, 37, 41, .72); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 30px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
.gx-vol.show { opacity: 1; transform: none; }
.gx-vol svg { width: 18px; height: 18px; flex: none; }
.gx-vol__track { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.gx-vol__track i { display: block; height: 100%; width: 40%; background: #fff; border-radius: 3px; }
.gx-rl { position: absolute; left: 50%; top: 20%; width: min(380px, 80%); transform: translateX(-50%) scale(.97); border-radius: 12px; background: rgba(32, 33, 36, .8); backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px rgba(0, 0, 0, .5); padding-bottom: 6px; opacity: 0; transition: opacity .18s, transform .18s; font-size: 12.5px; }
.gx-rl.show { opacity: 1; transform: translateX(-50%) scale(1); }
.gx-rl__s { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .4); margin-bottom: 4px; }
.gx-rl__s img { width: 18px; height: 18px; }
.gx-rl__r { display: flex; align-items: center; gap: 9px; padding: 5px 8px; margin-inline: 6px; border-radius: 6px; }
.gx-rl__r.on { background: rgba(255, 255, 255, .1); }
.gx-rl__r img { width: 18px; height: 18px; }
.gx-rl__r em { margin-left: auto; font-style: normal; color: var(--faint); font-size: 11.5px; }

.gx-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid var(--line); }
.gx-tab { position: relative; text-align: left; background: none; border: 0; color: var(--faint); padding: 16px 16px 0 0; font: inherit; cursor: pointer; display: grid; gap: 2px; }
.gx-tab b { font-weight: 510; font-size: 14px; color: var(--dim); }
.gx-tab span { font-size: 12.5px; }
.gx-tab i { position: absolute; top: -1px; left: 0; right: 16px; height: 1px; background: var(--text); transform-origin: left; transform: scaleX(0); }
.gx-tab:hover b, .gx-tab.is-on b { color: var(--text); }
.credit { margin-top: 18px; font-size: 11.5px; color: var(--faint); }

@media (max-width: 900px) {
  .gx { grid-template-columns: minmax(0, 1fr); }
  .gx__desk { min-height: 380px; }
}

/* ---------- v5: fading edges, gradient borders, consistent sizes ---------- */
/* A border that is bright at the top and fades out, instead of a hard ring. */
.screen, .gx__mac, .dl, .vis, .gcard { box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .6); }
.screen::after, .gx__mac::after, .dl::after, .vis::after, .mac::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 8;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, 0) 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.dl, .vis { position: relative; }
.trio .vis { box-shadow: none; }

/* Images fade into the page at their bottom and sides. */
.mac, .gx__mac {
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 74%, transparent 100%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
  box-shadow: none;
}
.mac { height: clamp(520px, 54vw, 640px); }
.rl { top: 11%; }
.screen--fade { -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }

/* Divider lines fade at both ends. */
.facts, .trio, .free, .gx-tabs, .tabs { border-top: 0; background: linear-gradient(90deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent) top / 100% 1px no-repeat; }
.trio { border-bottom: 0; }
footer { border-top: 0; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent) top / 100% 1px no-repeat; }
.nav { border-bottom: 0; background-image: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); background-size: 100% 1px; background-position: bottom; background-repeat: no-repeat; }

/* ---------- Abstract light backdrops behind feature screens ---------- */
.stage-bg { position: relative; border-radius: 18px; overflow: hidden; padding: clamp(18px, 4.5vw, 56px); background: #050506; isolation: isolate; }
.stage-bg > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.stage-bg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.stage-bg .screen { background: rgba(15, 16, 17, .82); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); }
.stage-bg--fade { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }

/* ---------- Consistent sizes: paired visuals share one height, captions line up ---------- */
.pair--media { grid-template-rows: auto auto; row-gap: 0; }
.pair--media > div { grid-row: span 2; display: grid; grid-template-rows: subgrid; gap: 0; }
.pair .stage-bg { height: 100%; display: grid; }
.pair .stage-bg .screen { min-height: 0; height: 100%; align-content: center; }
.pair .copyblock { padding-top: 22px; align-content: start; }
@media (max-width: 820px) { .pair--media > div { grid-row: auto; grid-template-rows: auto auto; } .pair--media { row-gap: 56px; } }

/* ---------- Gestures: close-up camera on the fingers ---------- */
.gx { align-items: stretch; }
.gx__mac { aspect-ratio: 16 / 10; }
.gx__desk { min-height: 0; height: 100%; box-shadow: none; background: radial-gradient(70% 70% at 50% 40%, #1c1d20 0%, #111214 55%, #0b0c0d 100%);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 45%, #000 60%, transparent 100%); mask-image: radial-gradient(75% 75% at 50% 45%, #000 60%, transparent 100%); }
.world { position: absolute; left: 0; top: 0; will-change: transform; }
.mtp { left: 0; top: 0; margin: 0; width: 700px; height: 490px; border-radius: 36px; }
.hand-img { width: 460px; transform-origin: 34% 9%; }
.tdot { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.ripple2 { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.edge-hint { left: 10px; top: 40px; bottom: 40px; width: 4px; }
@media (max-width: 900px) { .gx__desk { height: 380px; } }

/* ---------- v6 ---------- */
.stage-bg { background: #050506 center / cover no-repeat; }
.stage-bg[data-bg="multi"] { background-image: var(--img-multi); }
.stage-bg[data-bg="purple"] { background-image: var(--img-purple); }
.stage-bg[data-bg="red"] { background-image: var(--img-red); }
.stage-bg[data-bg="pink"] { background-image: var(--img-pink); }
.world { transform-origin: 0 0; }
.mtp { width: 450px; height: 323px; border-radius: 26px; }
.edge-hint { left: 8px; top: 28px; bottom: 28px; width: 3px; }
.tdot { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.ripple2 { width: 64px; height: 64px; margin: -32px 0 0 -32px; }

/* ---------- v7 hero: photo backdrop, ambient light from it, gradient words ---------- */
.mac { background-image: var(--img-hero); background-position: center 30%; }
.hero__stage { position: relative; }
.hero__stage::before { content: ""; position: absolute; inset: 6% 2% 14%; z-index: -1; background: var(--img-hero) center / cover; filter: blur(90px) saturate(1.25); opacity: .5; pointer-events: none; }
.hero::before { background: radial-gradient(42% 55% at 30% 30%, rgba(255, 128, 40, .14), transparent 70%), radial-gradient(40% 55% at 72% 25%, rgba(40, 120, 255, .16), transparent 70%); }
.grad { background: linear-gradient(90deg, #ffb35c 0%, #ff6a3d 30%, #e04f9a 60%, #4f8dff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em; }

/* ---------- v8: grainy backdrops everywhere, hover backdrops, close-up hand ---------- */
:root {
  --img-hero: url("/assets/landing/v2/bg-mp1.webp");
  --img-widgets: url("/assets/landing/v2/bg-mp2.webp");
  --img-gx: url("/assets/landing/v2/bg-mp3.webp");
  --img-mp4: url("/assets/landing/v2/bg-mp4.webp");
  --img-multi: url("/assets/landing/v2/bg-multi.webp");
  --img-purple: url("/assets/landing/v2/bg-purple.webp");
  --img-red: url("/assets/landing/v2/bg-red.webp");
  --img-pink: url("/assets/landing/v2/bg-pink.webp");
}
.mac { background: #08070c var(--img-hero) center / cover no-repeat; }
.hero__stage::before { background: var(--img-hero) center / cover; opacity: .55; }
.hero::before { background: radial-gradient(42% 55% at 30% 30%, rgba(214, 79, 208, .16), transparent 70%), radial-gradient(40% 55% at 72% 25%, rgba(255, 106, 61, .14), transparent 70%); }
.grad { background: linear-gradient(90deg, #ffb35c 0%, #ff5a3c 35%, #d64fd0 70%, #9a86ff 100%); -webkit-background-clip: text; background-clip: text; }
.gx__mac { background: #0b0806 var(--img-gx) center / cover no-repeat; }
.desk { background: #0a0b14 var(--img-widgets) center / cover no-repeat; }
.ext { isolation: isolate; overflow: hidden; }
.ext > * { position: relative; z-index: 2; }
.ext::before { background: var(--hover-img) center / cover no-repeat; opacity: 0; z-index: 0; transition: opacity .35s ease; }
.ext::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 9, 10, .25), rgba(8, 9, 10, .7)); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.ext:hover::before { opacity: 1; }
.ext:hover::after { opacity: 1; }
.ext:hover p { color: rgba(255, 255, 255, .78); }
@media (min-width: 901px) { .gx__desk { height: auto; min-height: 340px; } }
@media (max-width: 900px) { .gx__desk { height: 380px; } }

/* ---------- v9: real copied image, calmer hero window ---------- */
.shot-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-view .big-shot, .big-shot { max-width: 420px; }
.mac {
  -webkit-mask-image: none; mask-image: none;
  background: #07070b linear-gradient(180deg, rgba(6, 6, 12, .5), rgba(6, 6, 12, .62)), var(--img-hero) center / cover no-repeat;
  background-blend-mode: normal;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85);
}
.mac::after { content: ""; position: absolute; inset: 0; background: var(--img-hero) center / cover; filter: saturate(.7) brightness(.55); z-index: 0; pointer-events: none; }
.mac > * { position: relative; z-index: 1; }
.mac > .rl { position: absolute; z-index: 2; }
.hero__stage::before { opacity: .22; filter: blur(110px) saturate(.8); }
.hero::before { background: radial-gradient(42% 55% at 30% 30%, rgba(150, 70, 160, .10), transparent 70%), radial-gradient(40% 55% at 72% 25%, rgba(200, 90, 50, .08), transparent 70%); }

/* ---------- v10 gestures: a MacBook, fixed, real fingers rising from below (Swish-like) ---------- */
.gx2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 40px 64px; align-items: center; }
.gx2__tabs { display: grid; gap: 4px; align-content: center; }
.gx2__tab { position: relative; text-align: left; background: none; border: 0; padding: 18px 0 18px 20px; font: inherit; cursor: pointer; display: grid; gap: 4px; color: var(--faint); }
.gx2__tab::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; border-radius: 1px; background: var(--line-2); }
.gx2__tab i { position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; border-radius: 1px; background: var(--text); transform-origin: top; transform: scaleY(0); }
.gx2__tab b { font-weight: 590; font-size: 16px; color: var(--dim); transition: color .2s; }
.gx2__tab span { font-size: 14px; line-height: 1.5; max-width: 36ch; }
.gx2__tab.is-on b, .gx2__tab:hover b { color: var(--text); }
.gx2__tab.is-on span { color: var(--dim); }
.gx2 .credit { padding-left: 20px; margin-top: 18px; }

.device { position: relative; width: 100%; border-radius: 18px; overflow: hidden; background: #1a1b1e; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 100px -30px rgba(0, 0, 0, .8); }
.device__screen { position: relative; aspect-ratio: 16 / 10; background: #0b0806 var(--img-gx) center / cover no-repeat; overflow: hidden; }
.device__screen .mac__bar { position: relative; z-index: 2; }
.device__keys { display: flex; gap: 8px; padding: 12px 0; margin-inline: -24px; background: linear-gradient(180deg, #232427, #1d1e21); border-top: 1px solid rgba(255, 255, 255, .06); }
.device__keys i { flex: 1; height: 44px; border-radius: 7px; background: #0e0e10; box-shadow: 0 0 6px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); filter: blur(1.4px); }
.device__keys i.wide { flex: 4; }
.device__deck { position: relative; height: 290px; background: linear-gradient(180deg, #202124, #1a1b1e); overflow: hidden; }
.tpad { position: absolute; left: 50%; top: 20px; width: 64%; height: 232px; transform: translateX(-50%); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 1px 6px rgba(0, 0, 0, .4); }
.tpad .edge-hint { left: 30px; right: 30px; top: auto; bottom: 8px; width: auto; height: 3px; }
.tpad .ripple2 { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.fingers, .finger1 { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: none; }
.fingers img, .finger1 img { display: block; width: 337px; height: auto; max-width: none; }
.finger1 { width: 48px; height: 340px; overflow: hidden; }
.finger1 img { position: absolute; left: 0; top: 0; }
.fingers { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); }
.finger1 { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); }

@media (max-width: 900px) {
  .gx2 { grid-template-columns: minmax(0, 1fr); }
  .gx2__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .gx2__tab { padding: 14px 0 0; }
  .gx2__tab::before, .gx2__tab i { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; transform-origin: left; }
  .gx2__tab span { font-size: 12.5px; }
  .gx2 .credit { grid-column: 1 / -1; padding-left: 0; }
  .gx2__tabs { order: 2; }
}
@media (max-width: 520px) {
  .gx2__tab span { display: none; }
  .device__deck { height: 240px; }
  .tpad { width: 74%; height: 190px; }
}

/* ---------- v11: Screen Studio cues ---------- */
/* Centred section heads with the grey second line. */
.head { justify-items: center; text-align: center; }
.head .eyebrow::before { display: none; }
.head--split { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; }
.head--split .copy, .head--split .lead { justify-self: center; text-align: center; max-width: 54ch; }
.head h2 { max-width: 20ch; }
.get .head { justify-items: start; text-align: left; }
.pair .copyblock { text-align: left; }

/* Works with */
.works { margin-top: 40px; display: grid; justify-items: center; gap: 16px; }
.works p { font-size: 13px; color: var(--faint); }
.works ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.works li { font-size: clamp(17px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em; color: #6c7079; }

/* Segmented control */
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { font: 510 13px/1 var(--sans); color: var(--dim); background: transparent; border: 0; border-radius: 7px; padding: 8px 12px; cursor: pointer; transition: background .16s, color .16s; }
.seg button:hover { color: var(--text); }
.seg button.is-on { color: var(--text); background: rgba(255, 255, 255, .12); box-shadow: 0 1px 2px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .08); }
.seg--center { display: flex; width: fit-content; margin: 0 auto 28px; }
.demo-bar { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.try { display: none; }
.playpause { width: 36px; height: 36px; border-radius: 10px; border: 0; display: grid; place-items: center; color: var(--dim); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.playpause:hover { color: var(--text); }
.playpause svg { width: 14px; height: 14px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; }
.faq details { padding: 18px 0; background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent) bottom / 100% 1px no-repeat; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 510; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--dim); font-size: 15px; max-width: 60ch; }

/* ---------- v12 hero: tight and solid ---------- */
.hero { padding-top: clamp(48px, 7vw, 88px); }
.hero__copy { gap: 18px; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.02; letter-spacing: -0.032em; color: var(--text); }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); max-width: none; color: var(--dim); }
.hero__row { gap: 10px; margin-top: 8px; }
.hero__meta { margin-top: 0; font-size: 12.5px; }
.hero__stage { margin-top: clamp(36px, 4.5vw, 52px); }
.hero::before { opacity: .6; }

/* ---------- v13: the hero backdrop changes with each request ---------- */
.mac::after { display: none; }
.mac > .mac__bgs { position: absolute; inset: 0; z-index: 0; }
.mac__bgs i { position: absolute; inset: 0; background: var(--b) center / cover no-repeat; filter: saturate(.7) brightness(.5); opacity: 0; transition: opacity 1.1s ease; }
.mac__bgs i.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .mac__bgs i { transition: none; } }

/* ---------- v14: what RayMate replaces ---------- */
.replaces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.replaces li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 15px 0; background: linear-gradient(90deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent) bottom / 100% 1px no-repeat; }
.replaces b { font-weight: 590; font-size: 14.5px; }
.replaces span { color: var(--dim); font-size: 14.5px; }
.replaces__note { margin-top: 20px; text-align: center; font-size: 12px; color: var(--faint); }
@media (max-width: 820px) { .replaces { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .replaces li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- v15: what RayMate replaces, as an endless strip of real app icons ---------- */
:root {
  --ic-alfred: url("/assets/landing/v2/apps/alfred.webp");
  --ic-alttab: url("/assets/landing/v2/apps/alttab.webp");
  --ic-bettersnaptool: url("/assets/landing/v2/apps/bettersnaptool.webp");
  --ic-bettertouchtool: url("/assets/landing/v2/apps/bettertouchtool.webp");
  --ic-chatgpt: url("/assets/landing/v2/apps/chatgpt.webp");
  --ic-claude: url("/assets/landing/v2/apps/claude.webp");
  --ic-cleanmymac: url("/assets/landing/v2/apps/cleanmymac.webp");
  --ic-colorslurp: url("/assets/landing/v2/apps/colorslurp.webp");
  --ic-espanso: url("/assets/landing/v2/apps/espanso.webp");
  --ic-grammarly: url("/assets/landing/v2/apps/grammarly.webp");
  --ic-maccy: url("/assets/landing/v2/apps/maccy.webp");
  --ic-macwhisper: url("/assets/landing/v2/apps/macwhisper.webp");
  --ic-magnet: url("/assets/landing/v2/apps/magnet.webp");
  --ic-moom: url("/assets/landing/v2/apps/moom.webp");
  --ic-paste: url("/assets/landing/v2/apps/paste.webp");
  --ic-rectangle: url("/assets/landing/v2/apps/rectangle.webp");
  --ic-spotlight: url("/assets/landing/v2/apps/spotlight.webp");
  --ic-textsniper: url("/assets/landing/v2/apps/textsniper.webp");
}
.marquee { display: grid; gap: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee li { display: grid; grid-template-columns: 44px auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 18px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.ri { grid-row: 1 / 3; width: 44px; height: 44px; background: var(--i) center / contain no-repeat; }
.ri--sq { border-radius: 10px; background-size: cover; }
.marquee b { font-size: 14px; font-weight: 590; white-space: nowrap; }
.marquee small { font-size: 12px; color: var(--faint); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .marquee__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee__row li[aria-hidden] { display: none; } }

/* ---------- v16: the app the selection comes from sits behind the launcher ---------- */
.mac > .ctxwin { position: absolute; inset: 52px 34% -12px 3%; z-index: 1; opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px rgba(0, 0, 0, .5); background: rgba(22, 23, 26, .94); }
.mac > .ctxwin.on { opacity: 1; transform: none; }
.mac .mail { grid-template-columns: 140px 210px minmax(0, 1fr); }
.mac .notes { grid-template-columns: 150px minmax(0, 1fr); }
.mac .rl { transition: left .6s cubic-bezier(.16, 1, .3, 1), width .6s cubic-bezier(.16, 1, .3, 1); }
.mac[data-ctx="mail"] .rl, .mac[data-ctx="notes"] .rl { left: 71%; width: min(480px, 46%); }
@media (max-width: 820px) {
  .mac > .ctxwin { display: none; }
  .mac[data-ctx="mail"] .rl, .mac[data-ctx="notes"] .rl { left: 50%; width: min(700px, calc(100% - 32px)); }
}

/* ---------- v17: an AI-made widget lands on the desktop ---------- */
.mac > .mac-widget { position: absolute; z-index: 2; right: 6%; top: 72px; width: 236px; display: grid; gap: 10px; padding: 14px 16px; border-radius: 18px; font-size: 13px; background: rgba(28, 29, 34, .72); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 50px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.mac > .mac-widget.show { opacity: 1; transform: none; }
.w-foot2 { font-size: 11px; color: var(--faint); }
.mac .rl.away { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.97); pointer-events: none; }
.mac .rl { transition: left .6s cubic-bezier(.16, 1, .3, 1), width .6s cubic-bezier(.16, 1, .3, 1), opacity .35s ease, transform .35s ease; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--faint); }
.steps li { display: flex; align-items: center; gap: 10px; transition: color .2s; }
.steps i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); flex: none; }
.steps li.busy { color: var(--text); }
.steps li.busy i { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .15); border-top: 1.5px solid #fff; animation: spin .7s linear infinite; }
.steps li.done { color: var(--dim); }
.steps li.done i { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.5l2.2 2.2L11.5 6'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .mac > .mac-widget { right: 50%; transform: translateX(50%) translateY(10px); } .mac > .mac-widget.show { transform: translateX(50%); } }

/* ---------- v18: the fix lands in Notes ---------- */
.rl__foot .act.press { background: rgba(255, 255, 255, .16); border-radius: 4px; }
.notes__body .fixed { color: var(--text); background: rgba(76, 183, 130, .28); border-radius: 3px; padding: 0 2px; transition: background 1.2s ease; }
.notes__body .fixed.settled { background: transparent; }

/* ---------- v19: more widgets join the first one ---------- */
.mac > .mac-widget.mw--fx { right: 6%; left: auto; top: 72px; }
.mac > .mac-widget.mw--disk { right: 6%; left: auto; top: 252px; }
.mac > .mac-widget.mw--score { left: 6%; right: auto; top: 72px; }
.mac > .mac-widget.mw--cal { left: 6%; right: auto; top: 236px; }
.mac-widget .sb div { display: flex; justify-content: space-between; font-size: 15px; font-weight: 510; }
.mac-widget .sb div:last-child { color: var(--dim); }
.mac-widget .mw-big { font-size: 16px; font-weight: 590; }
@media (max-width: 760px) { .mac > .mac-widget:not(.mw--fx) { display: none; } }

/* ---------- v20: Clipboard History, as the app draws it ---------- */
.cb { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 520px; border-radius: 20px; background: rgba(18, 18, 22, .78); }
.cb__search { display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.cb__back { color: var(--dim); font-size: 18px; }
.cb__q { flex: 1; min-width: 0; font-size: 22px; letter-spacing: -0.01em; color: rgba(255, 255, 255, .38); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; }
.cb__q .caret { margin: 0 2px 0 0; }
.cb__types { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text); }
.cb__types svg { width: 12px; height: 12px; color: var(--dim); }
.cb__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.cb__list { padding: 10px 10px 16px; display: grid; gap: 2px; align-content: start; border-right: 1px solid rgba(255, 255, 255, .06); }
.cb__sec { font-size: 13px; color: var(--faint); padding: 8px 12px 6px; }
.cb__row { display: grid; grid-template-columns: 40px minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 11px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.cb__row:hover { background: rgba(255, 255, 255, .05); }
.cb__row.on { background: #2f6bd0; }
.cb__ic { width: 40px; height: 40px; border-radius: 9px; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, .06); }
.cb__ic img { width: 34px; height: 34px; }
.cb__ic--img img { width: 100%; height: 100%; object-fit: cover; }
.cb__ic--sw { background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.cb__ic--t { background: #8e8e93; color: #fff; font: 400 24px/1 Georgia, "Times New Roman", serif; }
.cb__t { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb__s { font-size: 14px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb__row.on .cb__s { color: rgba(255, 255, 255, .78); }
.cb__detail { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; padding: 18px 22px 76px; min-width: 0; }
.cb__pv { display: grid; place-items: center; align-content: center; gap: 10px; min-height: 220px; font-size: 14px; color: var(--dim); text-align: center; }
.cb__pvimg { width: 100%; max-width: 440px; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.cb__pvsw { width: 110px; height: 110px; border-radius: 22px; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.cb__pvfile { width: 88px; height: 88px; }
.cb__pvtext { font-size: 18px; color: var(--text); max-width: 26ch; }
.cb__info { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); font-size: 14px; }
.cb__info dt, .cb__info dd { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.cb__info dt { color: var(--faint); }
.cb__info dd { margin: 0; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.cb__info dt:last-of-type, .cb__info dd:last-of-type { border-bottom: 0; }
.cb__src { display: inline-flex; align-items: center; gap: 8px; }
.cb__src img { width: 22px; height: 22px; }
.cb__bar { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 16px; border-radius: 14px; font-size: 14px; color: var(--text); background: rgba(30, 31, 36, .86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.cb__bar .kbd { font-size: 12px; padding: 4px 6px; }
.cb__sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .12); margin-inline: 4px; }
.cb__list--mini { border-right: 0; padding: 4px 0; }
.cb__list--mini .cb__row { grid-template-columns: 30px minmax(0, auto) minmax(0, 1fr); padding: 6px 8px; gap: 10px; }
.cb__list--mini .cb__ic { width: 30px; height: 30px; border-radius: 7px; }
.cb__list--mini .cb__ic img { width: 24px; height: 24px; }
.cb__list--mini .cb__ic--img img { width: 100%; height: 100%; }
.cb__list--mini .cb__ic--t { font-size: 18px; }
.cb__list--mini .cb__t { font-size: 13.5px; }
.cb__list--mini .cb__s { font-size: 12px; }
.cb__list--mini .cb__sec { padding: 6px 8px 4px; font-size: 11.5px; }
.rl-clip__pv .cb__pvimg { max-width: 300px; }
@media (max-width: 720px) {
  .cb__body { grid-template-columns: minmax(0, 1fr); }
  .cb__list { border-right: 0; }
  .cb__detail { display: none; }
  .cb__bar { position: static; margin: 0 12px 12px auto; width: fit-content; }
  .cb__s { display: none; }
}

/* ---------- v21: feature icons on the paired captions ---------- */
.cap-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--c), #fff 14%), var(--c)); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .35); margin-bottom: 6px; }
.cap-ic svg { width: 22px; height: 22px; }
.pair .copyblock .eyebrow::before { display: none; }

/* "Free", marked like a highlighter pen stroke */
.hl { color: #1a1300; font-weight: 600; padding: 1px 6px; margin-inline: -2px; border-radius: 3px 6px 4px 7px; background: linear-gradient(100deg, rgba(255, 214, 10, .82) 0%, rgba(255, 224, 70, .95) 45%, rgba(255, 206, 0, .85) 100%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Titlebar Actions: two fingers swipe, the window snaps ---------- */
.gx2--flip { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); }
.tb-screen { background: #08070c; }
.tb-screen::before { content: ""; position: absolute; inset: 0; background: var(--img-widgets) center / cover no-repeat; filter: saturate(.75) brightness(.6); }
.tb-screen > * { position: relative; }
.tb-screen > .tb-win, .tb-screen > .tb-preview, .tb-screen > .tb-cursor { position: absolute; }
.tb-win { z-index: 2; border-radius: 9px; overflow: hidden; background: #17181b; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 40px rgba(0, 0, 0, .5); transform-origin: 50% 50%; }
.tb-win__bar { height: 24px; display: flex; align-items: center; gap: 6px; padding: 0 9px; background: #222327; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 10.5px; color: var(--dim); white-space: nowrap; }
.tb-win__bar i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tb-win__bar i:nth-child(1) { background: #ff5f57; }
.tb-win__bar i:nth-child(2) { background: #febc2e; }
.tb-win__bar i:nth-child(3) { background: #28c840; }
.tb-win__bar span { margin-inline: auto; padding-right: 30px; }
.tb-win__body { padding: 12px; display: grid; gap: 7px; }
.tb-win__body b { display: block; height: 9px; width: 42%; border-radius: 3px; background: rgba(255, 255, 255, .5); }
.tb-win__body i { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.tb-win__body i.s { width: 62%; }
.tb-preview { z-index: 1; border-radius: 11px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; }
.tb-cursor { z-index: 3; width: 13px; height: 18px; margin: -2px 0 0 -2px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
@media (max-width: 900px) { .gx2--flip { grid-template-columns: minmax(0, 1fr); } }

/* Edge slides: vertical hint on the left or right edge, live screen dimming for brightness */
.tpad .edge-hint { left: 7px; right: auto; top: 28px; bottom: 28px; width: 3px; height: auto; }
.tpad .edge-hint.edge-hint--right { left: auto; right: 7px; }
.gx-dim { position: absolute; inset: 0; z-index: 4; background: #000; opacity: 0; pointer-events: none; }
.device__screen .gx-vol { z-index: 5; }

/* Three fingers for the App Switcher slide: the photo is clipped to index, middle and ring. */
.fingers { clip-path: inset(0 105px 0 91px); }
.gx2__note { padding-left: 20px; margin-top: 14px; font-size: 13.5px; color: var(--dim); max-width: 40ch; }
@media (max-width: 900px) { .gx2__note { grid-column: 1 / -1; padding-left: 0; } }

/* Extension boxes: a faint black-and-white grain at rest that turns to full colour on hover */
.ext::before { opacity: .2; filter: grayscale(1) brightness(.7) contrast(1.1); transition: opacity .45s ease, filter .45s ease; }
.ext:hover::before { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) { .ext::before { transition: none; } }

/* RayMate's titlebar HUD pill, as the app draws it */
.tb-screen > .tb-pill { position: absolute; }
.tb-pill { --pb: #8e8e93; --pp: #2a2a2c; --pg: #1c1c1e; z-index: 4; width: 40px; height: 22px; margin: -11px 0 0 -20px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--pp); color: var(--pb); box-shadow: 0 2px 8px rgba(0, 0, 0, .35), inset 0 0 0 .5px rgba(255, 255, 255, .12); opacity: 0; transition: background-color .12s ease-out, color .12s ease-out; }
.tb-pill[data-tone="red"] { --pb: #ff5f57; --pp: #3a1e1e; --pg: #4d0000; }
.tb-pill[data-tone="green"] { --pb: #28c840; --pp: #1a3a20; --pg: #0a4a10; }
.tb-pill.armed { background: var(--pb); color: var(--pg); }
.tb-pill svg { width: 10px; height: 10px; display: block; }
.tb-glyph { position: relative; width: 16px; height: 10px; border: 1.3px solid currentColor; border-radius: 2px; box-sizing: border-box; }
.tb-glyph i { position: absolute; background: currentColor; border-radius: 1px; }
/* The destination preview in the app's blue */
.tb-preview { background: rgba(10, 132, 255, .15); box-shadow: inset 0 0 0 1px rgba(10, 132, 255, .7); backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 10px; }

/* Widgets section: a prompt bar types each request, and its widget pops onto the desktop */
.w-cal { left: 330px; top: 236px; width: 220px; }
.w-cal .mw-big { font-size: 16px; font-weight: 590; }
.desk.wseq .widget { opacity: 0; transform: translateY(10px) scale(.95); transition: opacity .45s ease, transform .55s cubic-bezier(.16, 1, .3, 1); }
.desk.wseq .widget.on { opacity: 1; transform: none; }
.desk-prompt { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: min(520px, calc(100% - 40px)); display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; font-size: 15px; color: var(--text); background: rgba(30, 31, 36, .78); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 44px rgba(0, 0, 0, .5); transition: transform .15s ease; }
.desk-prompt img { width: 20px; height: 20px; flex: none; }
.desk-prompt__q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; display: flex; align-items: center; }
.desk-prompt.press { transform: translateX(-50%) scale(.98); }
@media (max-width: 720px) {
  .w-cal { position: relative; left: auto; top: auto; width: auto; }
  .desk-prompt { position: relative; left: auto; bottom: auto; transform: none; width: auto; order: -1; }
  .desk-prompt.press { transform: scale(.98); }
}

/* Quieter resting grain: barely there until hover */
.ext::before { opacity: .07; filter: grayscale(1) brightness(.55) contrast(1.05); }
.ext:hover::before { opacity: 1; filter: none; }

/* One-finger gestures use a real pointing hand: index finger out, the rest curled */
.finger1.point { width: auto; height: auto; overflow: visible; }
.finger1.point img { width: 347px; max-width: none; }

/* One hand style for every gesture (owner-supplied image): one, two and three fingers */
.fingers { clip-path: none; }
.fingers img { width: 242px; }
.finger1.point img { width: 272px; }
.tb-hand { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: none; }
.tb-hand img { display: block; width: 265px; max-width: none; height: auto; }
.tb-hand--a { clip-path: inset(0 142px 0 0); }
.tb-hand--b { clip-path: inset(0 0 0 123px); }

/* Second hand set: fingers held together, sized so a fingertip is about 40px */
.fingers img { width: 256px; }
.finger1.point img { width: 266px; }
.tb-hand img { width: 261px; }
.tb-hand--a { clip-path: inset(0 133px 0 0); }
.tb-hand--b { clip-path: inset(0 0 0 128px); }

/* Third hand set (black background): fingertip about 40px */
.fingers img { width: 242px; }
.finger1.point img { width: 248px; }
.tb-hand img { width: 251px; }
.tb-hand--a { clip-path: inset(0 126px 0 0); }
.tb-hand--b { clip-path: inset(0 0 0 125px); }

/* Pinch halves overlap by 2px so no seam shows between them */
.tb-hand--a { clip-path: inset(0 124px 0 0); }
.tb-hand--b { clip-path: inset(0 0 0 125px); }

/* High-resolution two-finger hand for the titlebar gestures */
.tb-hand img { width: 242px; }
.tb-hand--a { clip-path: inset(0 126px 0 0); }
.tb-hand--b { clip-path: inset(0 0 0 115px); }

/* Touch layer: a faint glow and fading trail under the fingertips */
.touch-trail { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; }

/* The two halves of the two-finger hand share one shadow, so no line shows between them */
.tb-pair { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Titlebar Actions as four cards ---------- */
.tbc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tbc { border-radius: 16px; overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .7); display: grid; }
.tbc__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.tbc__screen .mac__bar { height: 22px; font-size: 11px; }
.tbc__deck { position: relative; height: 190px; overflow: hidden; background: linear-gradient(180deg, #202124, #1a1b1e); border-top: 1px solid rgba(255, 255, 255, .06); }
.tbc__pad { position: absolute; left: 18%; right: 18%; top: 18px; height: 230px; border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 1px 6px rgba(0, 0, 0, .4); }
.tbc .tb-pair { position: absolute; inset: 0; pointer-events: none; }
.tbc__cap { padding: 18px 20px 20px; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.tbc__cap h3 { font-size: 15px; }
.tbc__cap p { color: var(--dim); font-size: 14px; }
.tbc-note { margin-top: 20px; text-align: center; color: var(--dim); font-size: 14px; }
@media (max-width: 820px) { .tbc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Trackpad gestures as four cards ---------- */
.gx-screen { background: #0b0806 var(--img-gx) center / cover no-repeat; }
.gx-screen > .mac__bar { position: relative; z-index: 6; }
.gxc .tbc__pad { height: auto; bottom: 14px; }
.tbc__pad .edge-hint { position: absolute; left: 7px; right: auto; top: 18px; bottom: 18px; width: 3px; border-radius: 2px; background: rgba(255, 255, 255, .5); opacity: 0; transition: opacity .25s; }
.tbc__pad .edge-hint.edge-hint--right { left: auto; right: 7px; }
.tbc__pad .ripple2 { position: absolute; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); opacity: 0; z-index: 3; }
.gx-hand { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: none; z-index: 2; }
.gx-hand img { display: block; max-width: none; height: auto; }
.gx-hand--one img { width: 248px; }
.gx-hand--three img { width: 242px; }
.gx-screen .gx-tile { width: clamp(64px, 8vw, 84px); }
.gx-screen .gx-vol { top: 30px; }
.tbc-credit { text-align: center; }
