/* Record website. The look every page shares: warm paper, one typeface, small calm headings on the left,
   dark pill buttons, and the app shown on soft painted pictures. The demo parts have their own files in /kit
   (loaded by site.js). The pages behind the home page add pages.css. */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument-sans.woff2") format("woff2"); }

:root {
  --bg: #f6f5f1; --card: #efede7; --card-2: #e6e3da; --surface: #fbfaf7;
  --ink: #1f1e1a; --mut: #66635b; --line: #dcd9cf;
  --accent: #b6391a; --rec: #e5412d; --picture: #a59d8b;
  --font: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 6px; --r-in: 4px; --gap: 12px;
  --pad: clamp(64px, 8vw, 112px);
  --t-big: clamp(20px, 1.75vw, 23px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 68px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, pre, table { margin: 0; }
h1, h2, h3 { font-weight: 500; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
.step em, .tile em { font-style: normal; font-weight: 500; color: var(--ink); }
code { font: .9em var(--mono); padding: .08em .34em; border-radius: 4px; background: var(--card-2); }
button { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: var(--r); background: var(--ink); color: var(--bg); text-decoration: none; transition: top .2s; }
.skip:focus { top: 60px; }

.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
/* A title on the left and its content on the right. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 28px clamp(28px, 5vw, 72px); align-items: start; }

/* --- Small parts -------------------------------------------------------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 500; line-height: 1.25; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s; }
.button:hover { background: #3b3932; }
.button:active { background: #000; }
.button.soft { background: var(--card-2); color: var(--ink); }
.button.soft:hover { background: #dbd7cc; }
.button.small { padding: 7px 14px; font-size: 14px; }
/* A text link that leads somewhere: the accent color and an arrow. */
.more { color: var(--accent); text-decoration: none; white-space: nowrap; }
.more::after { content: "\2192"; display: inline-block; margin-left: .35em; transition: transform .25s var(--ease); }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.more:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

.key { display: inline-grid; place-items: center; min-width: 1.75em; height: 1.75em; padding: 0 .4em; margin: 0 .08em; vertical-align: .06em; border-radius: 4px; font: 500 .8em/1 var(--font); white-space: nowrap; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 var(--line); }

.eyebrow { margin-bottom: 10px; font-size: 14px; color: var(--mut); }
.fine { margin-top: 14px; font-size: 13px; color: var(--mut); }
.caption { margin-top: 12px; font-size: 13px; color: var(--mut); }

/* Things that fade in when they scroll into view (only when JavaScript runs). */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* "?still" in the address turns all motion off (used for screenshots). */
html.still { scroll-behavior: auto; }
.still *, .still *::before, .still *::after { transition: none !important; animation: none !important; }

/* --- Navigation --------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 100; height: 52px; background: rgba(246, 245, 241, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; width: min(1280px, 100% - 40px); height: 100%; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 8px; justify-self: start; font-size: 16px; font-weight: 600; text-decoration: none; color: var(--ink); }
.brand img { display: block; border-radius: 5px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { display: block; font-size: 14px; line-height: 52px; color: var(--ink); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--mut); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav .button { justify-self: end; }

/* --- Hero ---------------------------------------------------------------- */
.hero { padding: clamp(44px, 6.5vw, 84px) 0 clamp(48px, 6vw, 80px); }
.hero h1, .lead { max-width: 25em; font-size: clamp(23px, 2.35vw, 30px); font-weight: 500; line-height: 1.25; letter-spacing: -.012em; text-wrap: pretty; }
.lead { font-weight: 400; color: var(--mut); }
.hero .actions { margin-top: 24px; }

/* The stage: the app on a soft painted picture, with no computer drawn around it. */
.device-wrap { width: min(1280px, 100% - 40px); margin: clamp(32px, 4vw, 52px) auto 0; }
.device { position: relative; aspect-ratio: 1440 / 868; border-radius: var(--r); overflow: hidden; background: var(--picture); }
.device .mac-desktop { height: 868px; }
.device-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.device.live .device-poster { display: none; }
.try { margin-top: 12px; font-size: 14px; color: var(--mut); }
.try strong { font-weight: 500; color: var(--ink); }
.try-narrow { display: none; }

/* The demo copies the app's own grays. One is a little too light to read easily at this size on the web,
   so the page uses a slightly darker one. */
#hero-demo .rk:not(.rk-dark), .tile-art .rk { --rk-muted-fg: #63636b; }

/* The demo for phones: the app's own parts at their real size on the picture. */
.compact-stage { position: relative; height: 100%; overflow: hidden; background: var(--picture) url("../img/wallpaper-dune-1440.jpg") center / cover no-repeat; text-align: left; }
.compact-stage .work-peek { position: absolute; left: 14px; right: 14px; top: 60px; opacity: .96; pointer-events: none; }
.compact-stage .work-peek .mac-window { position: relative; width: 1100px; height: 690px; }

/* --- Sections ------------------------------------------------------------ */
.section { padding: var(--pad) 0; }
.section h2 { max-width: 26em; font-size: var(--t-big); line-height: 1.28; letter-spacing: -.01em; text-wrap: balance; }
.subhead { max-width: 34em; font-size: var(--t-big); line-height: 1.28; letter-spacing: -.01em; color: var(--mut); text-wrap: pretty; }
/* A box that holds one idea: a little darker than the page, with a small corner. */
.step, .tile, .next-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border-radius: var(--r); background: var(--card); }
.step h3, .tile h3, .next-card h3 { font-size: 16px; line-height: 1.5; }
.step p, .tile p, .next-card p { max-width: 36em; color: var(--mut); text-wrap: pretty; }

/* The problem */
.statement { padding-top: clamp(40px, 5vw, 64px); }
.big { font-size: var(--t-big); line-height: 1.36; letter-spacing: -.01em; color: var(--mut); text-wrap: pretty; }
.big + .big { margin-top: 1em; }
.big .hl { color: var(--ink); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 28px; }
.step-n { font-size: 14px; color: var(--mut); }
.step-art { order: 9; display: flex; align-items: center; justify-content: center; gap: 12px; height: 232px; margin-top: 20px; padding: 16px; border-radius: var(--r-in); background: var(--picture) url("../img/wallpaper-dune-1440.jpg") center / cover no-repeat; }
.step:nth-child(2) .step-art { background-image: url("../img/wallpaper-moss-1440.jpg"); }
.step:nth-child(3) .step-art { background-image: url("../img/wallpaper-dusk-1440.jpg"); }
.cap { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 12px; font: 500 30px/1 var(--font); color: var(--ink); background: var(--surface); box-shadow: inset 0 -3px 0 rgba(31, 30, 26, .1), 0 14px 30px rgba(40, 35, 20, .24); }
.step-art .count { display: grid; place-items: center; align-content: center; gap: 2px; width: 124px; height: 124px; border-radius: 28px; background: #0a0a0a; color: #fff; box-shadow: 0 18px 40px rgba(40, 35, 20, .3); }
.step-art .count b { font: 600 56px/1 ui-rounded, "SF Pro Rounded", var(--font); }
.step-art .count span { font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, .55); }
.mini-file { display: flex; align-items: center; gap: 12px; width: min(100%, 300px); padding: 12px 12px 12px 14px; border-radius: 10px; background: var(--surface); box-shadow: 0 14px 34px rgba(40, 35, 20, .24); text-align: left; }
.mini-file-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 10.5px; font-weight: 600; letter-spacing: .02em; }
.mini-file div { min-width: 0; flex: 1; }
.mini-file b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--ink); }
.mini-file small { display: block; font-size: 11.5px; color: var(--mut); font-variant-numeric: tabular-nums; }
.mini-file-btn { flex: none; padding: 6px 10px; border-radius: 999px; background: var(--ink); font-size: 11.5px; font-weight: 500; color: var(--bg); }

/* Features: one wide row, six boxes, one wide row */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); margin-top: 28px; }
.tile { grid-column: span 2; position: relative; overflow: hidden; }
.tile p.big-word { margin: 0 0 14px; font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.tile-art { pointer-events: none; }
.tile.wide { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 20px clamp(20px, 3vw, 44px); align-items: end; }
.tile.wide h3, .tile.wide .tile-text p { font-size: var(--t-big); line-height: 1.28; letter-spacing: -.01em; }
.tile.wide .tile-text { padding: 8px 4px 4px; }
/* The picture of a recording in progress shows the upper part of the desktop. */
.t-camera .tile-art .fit { aspect-ratio: 1440 / 836; height: auto !important; border-radius: var(--r-in); }
.t-4k .tile-art, .t-sound .tile-art, .t-copy .tile-art { margin-top: auto; padding-top: 24px; }
.durations { display: grid; gap: 6px; margin-top: auto; padding-top: 24px; }
.durations li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--r-in); background: var(--surface); font-size: 14.5px; }
.durations li b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.durations li span { flex: none; font-size: 13.5px; color: var(--mut); font-variant-numeric: tabular-nums; }
.t-sound .rk-rows, .t-pause .rk-pill { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
/* "Copy. Paste. Sent.": the Copy video button of the app, and a chat box with the pasted file. */
.t-copy .tile-art { display: grid; gap: 10px; }
.t-copy .rk { display: flex; justify-content: flex-end; }
.t-copy .rk .rk-btn { cursor: default; }
.chat { padding: 10px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.chat-file { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--card); }
.chat-file > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: var(--ink); color: var(--bg); font-size: 9.5px; font-weight: 600; }
.chat-file div { min-width: 0; }
.chat-file b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--ink); }
.chat-file small { display: block; font-size: 11.5px; color: var(--mut); }
.chat-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 0 4px 0 6px; font-size: 13px; color: var(--mut); }
.chat-line i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-left: auto; border-radius: 50%; background: var(--ink); }
.chat-line i svg { width: 13px; height: 13px; fill: var(--bg); }
.t-sound .rk-rows { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.t-pause .tile-art { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 150px; margin-top: 24px; border-radius: var(--r-in); background: var(--picture) url("../img/wallpaper-moss-1440.jpg") 30% 40% / cover no-repeat; }
.t-pay a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.t-pay a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lock { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--ink); color: var(--bg); }
.lock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.code { min-width: 0; padding: 20px 22px; border-radius: var(--r-in); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 13.5px/1.9 var(--mono); color: var(--ink); white-space: pre; }
.code .c { color: var(--mut); }

/* Record and Loom: a comparison table */
.compare { margin-top: 28px; border-radius: var(--r); background: var(--card); overflow: hidden; }
.compare-scroll { overflow-x: auto; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.compare th, .compare td { padding: 15px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { padding-top: 18px; padding-bottom: 16px; border-top: 0; font-size: 16px; font-weight: 500; }
.compare thead th img { display: inline-block; vertical-align: -6px; margin-right: 10px; border-radius: 6px; }
.compare thead th .rival-mark { display: inline-block; vertical-align: -6px; margin-right: 10px; }
.compare tbody th { width: 26%; font-weight: 500; color: var(--ink); }
.compare td { width: 37%; color: var(--mut); }
.compare td.ours, .compare thead th.ours { color: var(--ink); background: var(--surface); }
.compare td b { font-weight: 600; color: var(--ink); }
.compare-note { max-width: 60em; margin-top: 12px; font-size: 13px; color: var(--mut); }
.compare-more { margin-top: 20px; }

/* Film */
.film { position: relative; margin-top: 28px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: #14130f; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.film-play { position: absolute; left: 50%; top: 50%; width: clamp(60px, 7vw, 84px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); background: var(--bg); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); transition: transform .25s ease; }
.film-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.film-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 50%; }
.film-play svg { width: 40%; height: 40%; margin-left: 6%; fill: currentColor; }
.film-play[hidden] { display: none; }
.film-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px; text-align: center; font-size: 14px; color: #f6f5f1; background: rgba(0, 0, 0, .7); }

/* Coming next: three boxes, each with a small drawing of the feature */
.next { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 28px; }
.next .tag { align-self: flex-start; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px; background: var(--card-2); font-size: 13px; color: var(--ink); }
.n-share .tag { background: var(--ink); color: var(--bg); }
.next-art { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 250px; margin-top: 20px; padding: 20px; border-radius: var(--r-in); background: var(--picture) center / cover no-repeat; }
.n-share .next-art { background-image: url("../img/wallpaper-dune-1440.jpg"); }
.n-editor .next-art { background-image: url("../img/wallpaper-moss-1440.jpg"); }
.n-ai .next-art { background-image: url("../img/wallpaper-dusk-1440.jpg"); }
/* The share card: the uploaded file and its link */
.share-pop { width: min(100%, 420px); padding: 14px; border-radius: 12px; background: var(--surface); box-shadow: 0 18px 50px rgba(40, 35, 20, .3); color: var(--ink); }
.share-file { display: flex; align-items: center; gap: 12px; }
.share-file .drive { flex: none; }
.share-file div { min-width: 0; flex: 1; }
.share-file b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.share-file small { display: block; font-size: 12.5px; color: var(--mut); }
.share-done { flex: none; padding: 3px 9px; border-radius: 999px; background: #dff0e2; color: #1b5e2c; font-size: 12px; font-weight: 500; animation: share-done 5s var(--ease) infinite; }
.share-bar { height: 4px; margin-top: 14px; border-radius: 4px; background: var(--card-2); overflow: hidden; }
.share-bar i { display: block; height: 100%; border-radius: 4px; background: var(--ink); transform-origin: 0 50%; animation: share-bar 5s var(--ease) infinite; }
.share-link { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 5px 5px 5px 12px; border-radius: 999px; background: var(--card); }
.share-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 12.5px var(--mono); color: var(--mut); }
.share-link b { flex: none; padding: 7px 13px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500; }
@keyframes share-bar { 0% { transform: scaleX(.04); } 55%, 100% { transform: scaleX(1); } }
@keyframes share-done { 0%, 50% { opacity: 0; transform: scale(.9); } 60%, 100% { opacity: 1; transform: none; } }
/* The editor card: three layouts of the same recording */
.layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.layout { position: relative; aspect-ratio: 16 / 10.4; border-radius: 6px; overflow: hidden; background: var(--card-2); box-shadow: 0 10px 26px rgba(40, 35, 20, .28); opacity: .78; }
.layout.on { opacity: 1; box-shadow: 0 0 0 2px var(--surface), 0 10px 26px rgba(40, 35, 20, .34); }
.layout .win { position: absolute; left: 12%; right: 12%; top: 14%; bottom: 14%; border-radius: 3px; background: var(--surface); box-shadow: 0 3px 8px rgba(40, 35, 20, .2); }
.layout .win::before { content: ""; position: absolute; left: 10%; right: 34%; top: 20%; height: 9%; border-radius: 2px; background: var(--ink); box-shadow: 0 10px 0 -1px var(--line), 0 18px 0 -1px var(--line); }
.layout .cam { position: absolute; left: 7%; bottom: 10%; width: 24%; aspect-ratio: 1; border-radius: 50%; background: #55584f url("../img/camera-1.jpg") center / cover; box-shadow: 0 0 0 1.5px var(--surface), 0 3px 8px rgba(40, 35, 20, .3); }
.l-side .win { left: 6%; right: 38%; }
.l-side .cam { left: auto; right: 7%; bottom: auto; top: 50%; width: 26%; transform: translateY(-50%); border-radius: 22%; }
.l-big .win { left: 54%; right: 6%; top: 52%; bottom: 8%; }
.l-big .win::before { display: none; }
.l-big .cam { left: 8%; top: 12%; bottom: auto; width: 48%; border-radius: 14%; }
/* The AI card: a request typed in plain words, and what was done */
.prompt { width: 100%; padding: 14px 16px; border-radius: 10px; background: rgba(31, 30, 26, .92); box-shadow: 0 18px 50px rgba(40, 35, 20, .3); }
.next .prompt p { max-width: none; margin: 0; font: 13px/1.75 var(--mono); color: #f6f5f1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next .prompt .did { color: #cfccc2; }
.prompt .you span { color: #f0a36b; }
.prompt .did span { color: #8fd19e; }
.caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 3px; vertical-align: -.16em; background: #f6f5f1; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 17px 44px 17px 0; font-size: 17px; font-weight: 500; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40em; padding: 0 0 22px; color: var(--mut); text-wrap: pretty; }
.faq details p a { color: var(--accent); text-underline-offset: 3px; }

/* Final call to action: the one large line of the page */
.cta { padding: clamp(80px, 11vw, 150px) 0; text-align: center; }
.cta-icon { display: block; margin: 0 auto 28px; width: 72px; height: 72px; border-radius: 22.5%; }
.cta h2 { max-width: 13em; margin-inline: auto; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.cta .subhead { margin: 18px auto 0; font-size: 18px; line-height: 1.45; letter-spacing: 0; }
.cta .actions { justify-content: center; margin-top: 28px; }

/* Footer */
.footer { padding: 44px 0 28px; background: var(--card); color: var(--mut); font-size: 14px; line-height: 1.5; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-notes { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-notes p { max-width: 80em; }
.footer-notes p + p { margin-top: 8px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 20px; font-size: 13px; }

/* --- Smaller screens ---------------------------------------------------- */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile { grid-column: span 1; }
  .tile.wide { grid-column: span 2; grid-template-columns: 1fr; }
  .next { grid-template-columns: 1fr; }
  .next-art { min-height: 220px; }
  .nav-links { gap: 20px; }
}
@media (max-width: 833px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step-art { height: 190px; }
}
@media (max-width: 733px) {
  .device-wrap { width: min(480px, 100% - 32px); }
  .device { aspect-ratio: 362 / 548; }
  /* One pixel larger than the live demo that replaces it, so browsers keep counting this picture as the largest thing painted. */
  .device-poster { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
  .try-wide { display: none; }
  .try-narrow { display: inline; }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: span 1; }
  .code { font-size: 12px; padding: 16px; }
  /* The table becomes one box per topic: the topic, then what Record gives, then what Loom gives. */
  .compare { border-radius: 0; background: none; overflow: visible; }
  .compare-scroll { overflow: visible; }
  .compare table, .compare tbody, .compare tr, .compare tbody th, .compare td { display: block; width: auto; min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tbody tr { margin-top: var(--gap); padding: 16px 18px 4px; border-radius: var(--r); background: var(--card); }
  .compare tbody th { padding: 0 0 10px; border: 0; font-size: 17px; }
  .compare td, .compare td.ours { padding: 10px 0 12px; background: none; border-top: 1px solid var(--line); font-size: 15.5px; }
  .compare td::before { content: "Loom"; display: block; margin-bottom: 2px; font-size: 13px; color: var(--mut); }
  .compare td.ours::before { content: "Record"; }
}
@media (max-width: 380px) {
  .compact-stage .rk-panel { transform: scale(.88); transform-origin: 50% 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .more::after, .faq summary::after, .film-play { transition: none; }
  .share-bar i, .share-done, .caret { animation: none; }
}
