/* Aspera site: editorial and quiet. The law in a serif, the product in Inter, oxide only for the brand.
   See brand/BRAND.md. No badges, glows, card grids or icon tiles: type, space and hairlines do the work. */
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter.woff2) format('woff2-variations'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/newsreader.woff2) format('woff2-variations'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-display: swap; font-weight: 200 800; src: url(/fonts/newsreader-italic.woff2) format('woff2-variations'); }

:root {
	--bg: #fff; --bg-alt: #f5f5f7; --text: #1d1d1f; --text-2: #6e6e73; --muted: #86868b; --line: #d2d2d7; --line-soft: #e8e8ed;
	--brand: #9e3b1f; --link: #a33d1e; --ink: #1d1d1f; --on-ink: #fff;
	--sans: 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
	:root { --bg: #000; --bg-alt: #0d0d0f; --text: #f5f5f7; --text-2: #a1a1a6; --muted: #6e6e73; --line: #38383d; --line-soft: #242428; --brand: #b4492a; --link: #ee9b79; --ink: #f5f5f7; --on-ink: #1d1d1f; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.47 var(--sans); letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
img, video { display: block; max-width: 100%; height: auto; }
p { text-wrap: pretty; }
.wrap { max-width: 1068px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap, .narrow { padding: 0 20px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: 48px; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line-soft); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12.5px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); flex: none; }
.brand .mark { width: 20px; height: 20px; }
.brand .wm { width: 58px; height: 12px; }
.nav-links { display: flex; gap: 36px; color: var(--text-2); }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); }
.nav-cta { color: var(--link); white-space: nowrap; }
@media (max-width: 760px) { .nav-links { display: none; } }

.subnav { position: sticky; top: 48px; z-index: 40; height: 52px; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line-soft); }
.subnav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subnav-title { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; white-space: nowrap; }
.subnav-links { display: flex; align-items: center; gap: 26px; font-size: 12.5px; color: var(--text-2); }
.subnav-links a:hover { color: var(--text); }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--on-ink) !important; font-size: 12.5px; font-weight: 500; }
@media (max-width: 700px) { .subnav-links .opt { display: none; } .subnav-title { font-size: 18px; } }

/* ---------- Type ---------- */
.display { font-size: clamp(44px, 7.4vw, 88px); line-height: 1.03; letter-spacing: -0.05em; font-weight: 650; margin: 0 auto 20px; text-wrap: balance; }
.h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 650; margin: 0 0 18px; text-wrap: balance; }
.h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 640; margin: 0 0 14px; text-wrap: balance; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.38; color: var(--text-2); letter-spacing: -0.02em; margin: 0 0 26px; }
.links { display: flex; flex-wrap: wrap; gap: 14px 32px; font-size: 19px; letter-spacing: -0.015em; }
.links a, a.more { color: var(--link); }
.links a:hover, a.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.center .links { justify-content: center; }
.note { font-size: 13px; color: var(--muted); margin: 18px 0 0; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 96px 0 0; overflow: hidden; }
.hero .display { max-width: 12em; }
.hero .lede, .closing .lede { max-width: 28em; margin-left: auto; margin-right: auto; }
.hero .links, .closing .links { justify-content: center; }
.horizon { position: relative; margin-top: 64px; display: flex; justify-content: center; }
.horizon::before { content: ''; position: absolute; left: 50%; top: 52%; width: 1600px; height: 1600px; transform: translateX(-50%); border-radius: 50%; border-top: 1px solid var(--brand); background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 8%, transparent), transparent 14%); pointer-events: none; }
.horizon .device { margin-bottom: -120px; }
@media (max-width: 700px) { .hero { padding-top: 64px; } .horizon { margin-top: 44px; } .horizon .device { margin-bottom: -90px; } }

/* ---------- Devices ---------- */
.device { position: relative; z-index: 1; width: 300px; flex: none; aspect-ratio: 600 / 1300; border-radius: 52px; padding: 10px; background: #111113; box-shadow: inset 0 0 0 1px #2b2b2e, 0 50px 90px -40px rgb(0 0 0 / 0.45); }
.device::before { content: ''; position: absolute; z-index: 2; top: 21px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%); border-radius: 999px; background: #111113; }
.device img, .device video { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 42px; background: #f7f7f8; }
.device.sm { width: 270px; border-radius: 47px; padding: 9px; }
.device.sm img, .device.sm video { border-radius: 38px; }
.device.sm::before { top: 19px; width: 76px; height: 22px; }
.vctl { position: absolute; z-index: 3; right: -54px; bottom: 6px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text-2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.vctl:hover { color: var(--text); }
.vctl svg { width: 14px; height: 14px; }
.vctl .play { display: none; }
.vctl[data-paused='true'] .play { display: block; }
.vctl[data-paused='true'] .pause { display: none; }
.horizon .vctl { bottom: 126px; }
@media (max-width: 700px) { .device { width: 260px; border-radius: 46px; padding: 9px; } .device img, .device video { border-radius: 37px; } .device::before { top: 19px; width: 74px; height: 21px; } .vctl { right: -48px; } .horizon .vctl { bottom: 96px; } }

.paper { background: #fff; max-width: 400px; margin: 0 auto; box-shadow: 0 0 0 1px var(--line-soft), 0 50px 80px -44px rgb(0 0 0 / 0.5); }
.paper img { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.alt { background: var(--bg-alt); }
.rule { border-top: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: 64px; }
.head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .section { padding: 84px 0; } .head { margin-bottom: 44px; } }

/* The law next to the product: the site's one idea. */
.pair { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 88px; align-items: center; }
.pair.flip > :first-child { order: 2; }
.cite { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-2); margin: 0 0 24px; letter-spacing: 0; }
.cite::before { content: ''; flex: none; width: 24px; height: 1px; background: var(--brand); }
blockquote.law { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.3vw, 40px); line-height: 1.24; letter-spacing: -0.012em; font-weight: 380; font-variation-settings: 'opsz' 48; text-wrap: pretty; }
blockquote.law em { color: var(--brand); }
@media (prefers-color-scheme: dark) { blockquote.law em { color: var(--link); } }
.answer { margin: 34px 0 0; font-size: 19px; line-height: 1.45; color: var(--text-2); max-width: 30em; letter-spacing: -0.015em; }
.answer strong { color: var(--text); font-weight: 600; }
.media { display: flex; justify-content: center; }
@media (max-width: 880px) { .pair { grid-template-columns: 1fr; gap: 56px; } .pair.flip > :first-child { order: 0; } }

/* Plain feature with text beside a device */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature .lede { font-size: 21px; }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; gap: 56px; } .feature.flip > :first-child { order: 0; } }

/* Columns of text under hairlines */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; }
.cols.two { grid-template-columns: repeat(2, 1fr); }
.col { border-top: 1px solid var(--line); padding: 26px 0 40px; }
.col h3 { font-size: 21px; letter-spacing: -0.025em; font-weight: 620; margin: 0 0 10px; line-height: 1.25; }
.col p { margin: 0; color: var(--text-2); }
@media (max-width: 820px) { .cols, .cols.two { grid-template-columns: 1fr; } .col { padding-bottom: 30px; } }

/* Figures */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fig { padding: 40px 20px 36px; text-align: center; }
.fig + .fig { border-left: 1px solid var(--line); }
.fig b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 650; letter-spacing: -0.055em; line-height: 1; margin-bottom: 10px; }
.fig span { color: var(--text-2); font-size: 15px; }
@media (max-width: 720px) { .figures { grid-template-columns: 1fr 1fr; } .fig:nth-child(3) { border-left: 0; } .fig:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Numbered steps, as rows */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 88px 1fr 1.4fr; gap: 24px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 34px; color: var(--muted); font-variation-settings: 'opsz' 48; }
.steps h3 { margin: 0; font-size: 24px; letter-spacing: -0.03em; font-weight: 620; }
.steps p { margin: 0; color: var(--text-2); }
@media (max-width: 720px) { .steps li { grid-template-columns: 56px 1fr; } .steps li p { grid-column: 2; } .steps li::before { font-size: 28px; } }

/* Tool rows */
.rows a { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline; padding: 34px 0; border-top: 1px solid var(--line); }
.rows a:last-child { border-bottom: 1px solid var(--line); }
.rows b { font-size: clamp(26px, 3vw, 34px); font-weight: 640; letter-spacing: -0.035em; }
.rows .where { color: var(--muted); font-size: 15px; margin-left: 12px; font-weight: 400; letter-spacing: -0.01em; }
.rows p { grid-column: 1; margin: 0; color: var(--text-2); max-width: 36em; }
.rows .more { grid-row: 1 / span 2; grid-column: 2; align-self: center; white-space: nowrap; color: var(--link); }
.rows a:hover b { color: var(--link); }
@media (max-width: 640px) { .rows a { grid-template-columns: 1fr; } .rows .more { grid-row: auto; grid-column: 1; } .rows .where { display: block; margin: 4px 0 0; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-weight: 300; font-size: 28px; line-height: 1; color: var(--muted); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 28px; color: var(--text-2); max-width: 40em; }
.faq .a p { margin: 0 0 10px; }

/* Closing */
.closing { text-align: center; padding: 140px 0 170px; overflow: hidden; position: relative; }
.closing::before { content: ''; position: absolute; left: 50%; top: 80%; width: 1600px; height: 1600px; transform: translateX(-50%); border-radius: 50%; border-top: 1px solid var(--brand); background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, transparent), transparent 10%); pointer-events: none; }
.closing .h2 { margin-left: auto; margin-right: auto; max-width: 14em; }

/* Prose (privacy, about) */
.prose h2 { font-size: 28px; letter-spacing: -0.035em; font-weight: 640; margin: 64px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.1em; margin: 0; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--text); font-weight: 600; }

/* Footer */
footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; line-height: 1.5; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 36px 0 26px; border-bottom: 1px solid var(--line); }
.foot p { margin: 12px 0 0; max-width: 30em; }
.foot h4 { margin: 0 0 10px; color: var(--text); font-size: 12px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--text); text-decoration: underline; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 0 28px; }
.legal i { font-family: var(--serif); font-size: 14px; }
@media (max-width: 680px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* Motion: gentle, and off for anyone who asks */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }
