/* Mrone Lab — quiet typography, one sculptural focal point, useful product stories. */
@font-face { font-family: Kanit; font-weight: 300; font-display: swap; src: url('/assets/fonts/kanit-300.woff2') format('woff2'); }
@font-face { font-family: Kanit; font-weight: 400; font-display: swap; src: url('/assets/fonts/kanit-400.woff2') format('woff2'); }
@font-face { font-family: Kanit; font-weight: 500; font-display: swap; src: url('/assets/fonts/kanit-500.woff2') format('woff2'); }
@font-face { font-family: Kanit; font-weight: 600; font-display: swap; src: url('/assets/fonts/kanit-600.woff2') format('woff2'); }
@font-face { font-family: Kanit; font-weight: 700; font-display: swap; src: url('/assets/fonts/kanit-700.woff2') format('woff2'); }
@font-face { font-family: Kanit; font-weight: 800; font-display: swap; src: url('/assets/fonts/kanit-800.woff2') format('woff2'); }
@font-face { font-family: Kanit; font-weight: 900; font-display: swap; src: url('/assets/fonts/kanit-900.woff2') format('woff2'); }
:root {
  --bg: #0c0c0c; --ink: #d7e2ea; --ink-dim: #969b9e; --ink-faint: #82878a;
  --line: #ffffff21; --paper: #eceeea; --accent: #22d3ee; --accent-2: #a78bfa;
  --radius-xl: 24px; --gutter: clamp(22px, 4.4vw, 72px); --sect: clamp(72px, 8vw, 120px);
  --font: Kanit, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --mono: 'Cascadia Code', Consolas, monospace; --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; background: var(--bg); }
body { background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: #bbccd7; color: #0c0c0c; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #b6a0e1; outline-offset: 6px; }
.hero-heading { background: linear-gradient(180deg, #676e77 0%, #c7d6df 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.accent-text { color: var(--accent); }
.product-featured { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:4px 10px; border:1px solid #e6c67b59; border-radius:100px; background:#e6c67b0d; color:#e9ce94; font-size:10px; font-weight:500; line-height:1.5; letter-spacing:.04em; white-space:nowrap; }
.product-featured svg { flex-shrink:0; }
.nav { display: flex; align-items: center; gap: 30px; padding: 26px var(--gutter); position: relative; z-index: 4; }
.nav-brand { font-weight: 600; font-size: 19px; letter-spacing: -.04em; white-space: nowrap; }
.nav-brand span { color: var(--ink-faint); }
.nav-links { display: flex; align-items: center; gap: clamp(24px, 3.5vw, 56px); margin-left: auto; }
.nav-link { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.nav-link:hover { color: #fff; }
.nav-lang { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 100px; min-height: 36px; min-width: 45px; padding: 5px 12px; font-size: 11px; }
.nav-lang:hover { background: #ffffff0c; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 30px; border-radius: 100px; padding: 14px 25px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; transition: background .2s, transform .2s; }
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-3px); }
.btn-gradient { color: #fff; border: 1px solid #ccb6d166; background: linear-gradient(115deg, #241a30, #713356 55%, #684532); box-shadow: inset 0 1px 8px #ffffff16; }
.btn-gradient:hover { background: linear-gradient(115deg, #30213e, #864068 55%, #79503b); }
.btn-light { background: var(--paper); color: #171717; }
.btn-light:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--line); background: transparent; }
.btn-ghost:hover { background: #ffffff09; }
.text-link { font-size: 12px; font-weight: 500; display: inline-flex; gap: 18px; align-items: center; padding: 10px 0; border-bottom: 1px solid transparent; }
.text-link:hover { border-color: currentColor; }
.hero { position: relative; height: min(900px, 100svh); min-height: 680px; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.hero-atmosphere { position: absolute; z-index: -1; inset: 12% 0 0; pointer-events: none; background: radial-gradient(ellipse at 53% 56%, #4137653b, transparent 48%), radial-gradient(ellipse at 38% 64%, #1c61772a, transparent 36%); }
.hero-floor { position: absolute; z-index: -1; width: 130%; left: -15%; height: 48%; bottom: -28%; pointer-events: none; background-image: linear-gradient(#8697c121 1px, transparent 1px), linear-gradient(90deg, #8697c121 1px, transparent 1px); background-size: 60px 60px; transform: perspective(360px) rotateX(60deg); transform-origin: center top; mask-image: radial-gradient(ellipse at 50% 0, black, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 50% 0, black, transparent 65%); }
.hero-intro { display: flex; justify-content: space-between; gap: 20px; padding: 45px var(--gutter) 0; font-size: 10px; letter-spacing: .16em; color: var(--ink-dim); }
.hero-object { position: absolute; z-index: 2; width: min(680px, 59vw); height: min(600px, 68vh); top: 50%; left: 50%; transform: translate(-50%, -34%); }
#hero-cat { width: 100%; height: 100%; position: absolute; inset: 0; cursor: grab; touch-action: pan-y; border-radius: 24px; border: 0; background: transparent; padding: 0; }
#hero-cat:active { cursor: grabbing; }
#hero-cat:focus-visible { outline-offset: -12px; }
.hero-object::after { content: ''; position: absolute; width: 42%; height: 22px; bottom: 10%; left: 29%; background: #000; filter: blur(16px); opacity: .65; z-index: -1; }
.cat-motion { display: block; position: absolute; inset: 20px 24px 75px; transform: perspective(900px) translateX(var(--cat-shift, 0px)) rotateX(var(--cat-pitch, 0deg)) rotateY(var(--cat-yaw, 0deg)) rotateZ(var(--cat-roll, 0deg)); transform-origin: 50% 85%; transition: transform .2s ease-out; pointer-events: none; }
.cat-picture { display: block; position: relative; width: 100%; height: 100%; animation: cat-breathe 5.4s ease-in-out infinite; transform-origin: 50% 90%; }
.cat-picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; transition: opacity .18s ease; }
.cat-happy { opacity: 0; }
[data-cat-state="happy"] .cat-happy { opacity: 1; }
[data-cat-state="happy"] .cat-idle { opacity: 0; }
.cat-paused .cat-picture { animation-play-state: paused; }
@keyframes cat-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.cat-hearts { position: absolute; inset: 0; pointer-events: none; }
.cat-heart { position: absolute; opacity: 0; font-style: normal; font-size: 20px; color: #ecc1d1; top: 36%; left: 24%; }
.cat-heart:nth-child(2) { left: 71%; top: 32%; font-size: 15px; }
.cat-heart:nth-child(3) { left: 20%; top: 47%; font-size: 12px; }
.cat-heart:nth-child(4) { left: 75%; top: 44%; font-size: 14px; color: #c1dbce; }
.cat-caption { position: absolute; inset: auto 0 42px; text-align: center; pointer-events: none; display: grid; gap: 8px; }
#cat-hint { color: #9f9aa9; font-size: 10px; letter-spacing: .12em; }
#cat-response { min-height: 24px; color: #e6cee7; font-size: 13px; }
.hero-bottom { z-index: 3; margin-top: auto; padding: 0 var(--gutter) 43px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: end; }
.hero-tag { font-size: clamp(12px, 1.05vw, 16px); line-height: 1.9; white-space: pre-line; font-weight: 300; }
#hero-cta { justify-self: end; }
.hero-scroll { color: var(--ink-faint); font-size: 10px; letter-spacing: .1em; padding: 12px 0; }
.hero-scroll:hover { color: var(--ink); }
.belief-strip { display: flex; align-items: center; justify-content: space-evenly; gap: 20px; padding: 27px var(--gutter); border-block: 1px solid var(--line); color: #a4a8ac; font-size: clamp(11px, 1.1vw, 15px); font-weight: 300; letter-spacing: .05em; text-transform: uppercase; }
.strip-star { font-size: 18px; color: #60676e; }
.section-shell { max-width: 1600px; margin: auto; padding: var(--sect) var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 50px; }
.section-head > div { min-width: 0; }
.section-kicker { font-size: 10px; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.section-heading { font-size: clamp(40px, 6.5vw, 102px); font-weight: 800; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; }
.section-count { font-size: 10px; letter-spacing: .1em; color: var(--ink-faint); padding-bottom: 5px; text-transform: uppercase; }
#product-stack { display: grid; gap: 54px; }
.project-card { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 5.2vw, 82px); align-items: center; }
.project-card + .project-card { border-top: 1px solid var(--line); padding-top: 54px; }
.project-visual { position: relative; overflow: hidden; min-width: 0; aspect-ratio: 1.38; background: #161b1c; border-radius: 16px; color: #dde8e8; isolation: isolate; }
.preview-stream { background: radial-gradient(ellipse at 15% 85%, #3c736050, transparent 60%), radial-gradient(ellipse at 90% 5%, #4772754a, transparent 65%), #172323; }
.preview-network { background: radial-gradient(ellipse at 15% 95%, #73486844, transparent 65%), radial-gradient(ellipse at 85% 0%, #5d52794a, transparent 70%), #211e2b; }
.preview-label { position: absolute; top: 26px; left: 28px; font-size: 10px; letter-spacing: .08em; border: 1px solid #ffffff29; border-radius: 100px; padding: 5px 12px; }
.preview-foot { position: absolute; bottom: 24px; left: 28px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #d7e2eab0; }
.preview-open { position: absolute; right: 25px; bottom: 21px; width: 34px; height: 34px; border: 1px solid #ffffff30; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.project-visual:hover .preview-open { background: #ffffff18; }
.device { background: #11181b; border: 1px solid #ffffff2e; box-shadow: 0 25px 50px #0007; }
.device-desktop { position: absolute; top: 28%; left: 9%; width: 68%; border-radius: 10px; transform: perspective(800px) rotateY(-8deg) rotateZ(-5deg); transition: transform .6s var(--ease); }
.project-visual:hover .device-desktop { transform: perspective(800px) rotateY(-3deg) rotateZ(-3deg) translateY(-4px); }
.window-bar { height: 29px; border-bottom: 1px solid #ffffff14; display: flex; gap: 5px; align-items: center; padding: 0 12px; }
.window-bar i { width: 5px; height: 5px; border-radius: 50%; background: #465052; }
.window-bar span { text-align: center; font-size: 9px; color: #7c8788; margin: auto; padding-right: 22px; }
.device-content { padding: 20px 24px 17px; }
.app-identity { display: flex; align-items: center; gap: 9px; }
.app-identity svg { width: 21px; height: 21px; color: #93c7b5; }
.app-identity strong { font-size: 19px; font-weight: 500; }
.app-identity .status-dot { margin-left: auto; }
.status-dot { display: inline-block; flex: none; height: 5px; width: 5px; border-radius: 50%; background: #94c8af; box-shadow: 0 0 10px #94c8af33; }
.preview-caption { display: block; font-size: 8px; color: #929fa1; margin-top: 19px; }
.clipboard-line { font-size: clamp(10px, 1.15vw, 18px); padding: 12px 0 22px; border-bottom: 1px solid #ffffff15; white-space: nowrap; }
.text-cursor { display: inline-block; width: 1px; height: .9em; background: #9cd9bd; margin-left: 3px; }
.sync-state { display: flex; align-items: center; gap: 6px; color: #8cbda5; font-size: 8px; padding-top: 14px; }
.sync-state > span:last-child { margin-left: auto; }
.device-phone { position: absolute; width: 24%; height: 63%; right: 9%; top: 22%; border: 4px solid #313b3c; border-radius: 22px; transform: rotate(8deg); padding: 26px 12px 10px; transition: transform .6s var(--ease); }
.project-visual:hover .device-phone { transform: rotate(5deg) translateY(-6px); }
.phone-notch { position: absolute; top: 7px; left: 32%; width: 36%; height: 8px; border-radius: 20px; background: #060b0c; }
.phone-time { position: absolute; top: 10px; left: 12px; font-size: 6px; }
.phone-app { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.phone-app svg { width: 16px; color: #93c7b5; }
.phone-app strong { font-size: 14px; font-weight: 500; }
.phone-message { margin-top: 10px; padding: 10px 8px; background: #ffffff07; border: 1px solid #ffffff0d; border-radius: 5px; font-size: 10px; line-height: 1.6; }
.phone-synced { font-size: 7px; color: #94c8af; display: block; margin-top: 12px; }
.phone-home { position: absolute; bottom: 7px; width: 36%; left: 32%; height: 3px; background: #939e9b; border-radius: 8px; }
.agent-orbit { position: absolute; inset: 17% 20%; border: 1px solid #d2c1ec19; border-radius: 50%; transform: rotate(-25deg); }
.agent-orbit::before { content: ''; position: absolute; inset: 18px -26px; border: 1px solid #d2c1ec13; border-radius: 50%; }
.agent-orbit::after { content: ''; position: absolute; height: 1px; background: linear-gradient(90deg, transparent, #c1a7dd88, transparent); width: 150%; top: 50%; left: -25%; transform: rotate(25deg); }
.agent-node { position: absolute; width: 26%; padding: 15px 16px; background: linear-gradient(130deg, #3b3444, #24212e); border: 1px solid #ffffff24; border-radius: 10px; box-shadow: 0 14px 40px #0003; }
.node-local { left: 8%; top: 29%; transform: rotate(-6deg); }
.node-remote { right: 8%; top: 43%; transform: rotate(6deg); }
.agent-node > span { font-size: 7px; color: #afa1bf; letter-spacing: .08em; display: block; }
.agent-node strong { display: block; font-size: clamp(18px, 2.3vw, 32px); font-weight: 400; margin: 8px 0; }
.agent-node small { font-size: 8px; color: #b9a2cd; }
.agent-core { position: absolute; top: 29%; left: 39%; width: 22%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(140deg, #cfbfed, #7e689b); border-radius: 24px; color: #302339; transform: rotate(-8deg); box-shadow: inset 0 2px 1px #ffffff60, 0 12px 30px #09061366; transition: transform .6s var(--ease); }
.project-visual:hover .agent-core { transform: rotate(0) translateY(-5px); }
.agent-core svg { width: 30%; margin-bottom: 5px; }
.agent-core strong { font-size: 18px; line-height: 1.2; font-weight: 500; }
.agent-core span { font-size: 6px; letter-spacing: .17em; margin-top: 3px; }
.agent-task { display: flex; align-items: center; gap: 8px; position: absolute; bottom: 21%; left: 25%; width: 50%; background: #15111d; border: 1px solid #ffffff1e; border-radius: 7px; padding: 12px; font-size: 9px; color: #b8adca; box-shadow: 0 12px 20px #0002; }
.agent-task > span:last-child { margin-left: auto; }
.generic-preview { position: absolute; inset: 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.generic-preview strong { font-size: 40px; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--ink-faint); font-size: 10px; letter-spacing: .03em; }
.project-version { color: var(--ink-dim); border: 1px solid var(--line); border-radius: 100px; padding: 3px 9px; }
.project-meta > span:first-child { color: #b6bdc2; }
.project-info h3 { font-size: clamp(36px, 4.7vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin: 17px 0 20px; }
.project-tagline { font-size: clamp(15px, 1.5vw, 21px); font-weight: 400; }
.project-description { margin: 14px 0 24px; color: var(--ink-dim); font-size: 12px; font-weight: 300; line-height: 1.9; max-width: 420px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--mono); font-size: 9px; color: var(--ink-faint); }
.project-tech span + span::before { content: '/'; margin-right: 16px; color: #50575b; }
.project-actions { display: flex; align-items: center; gap: 26px; margin-top: 29px; }
.about { background: var(--paper); color: #181919; border-radius: 32px 32px 0 0; padding: var(--sect) var(--gutter); }
.about-inner { max-width: 1456px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px 80px; }
.about .section-kicker { color: #626866; }
.about .section-heading { max-width: 480px; }
.about-mark { display: inline-block; font-family: sans-serif; font-size: 100px; line-height: 1; margin-top: 35px; color: #778279; }
.about-copy { align-self: center; }
.about-text { font-size: clamp(18px, 2vw, 28px); font-weight: 400; line-height: 1.85; letter-spacing: -.02em; margin-bottom: 22px; }
.about-copy .text-link { border-bottom-color: #17171735; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { position: relative; max-width: 1600px; margin: auto; padding: 48px var(--gutter); display: grid; grid-template-columns: 1fr auto; gap: 12px 50px; align-items: center; }
.footer-brand { font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.footer-brand span { color: var(--ink-faint); }
.footer-note { color: var(--ink-faint); font-size: 10px; font-weight: 300; grid-row: 2; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px 26px; padding-right: 58px; grid-column: 2; grid-row: 1 / 3; font-size: 10px; }
.footer-links a { color: #a4a8ac; }
.footer-links a:hover { color: #fff; }
.back-top { position: absolute; right: var(--gutter); width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 14px; }

/* Product pages share the same typography and spacing, retaining all content and downloads. */
.product-hero { height: auto; min-height: 590px; }
.product-hero--loading { min-height: 60svh; }
.product-aura { position: absolute; inset: 0; background: radial-gradient(ellipse at 95% 45%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 65%); pointer-events: none; }
.product-hero-inner { position: relative; z-index: 1; width: min(1280px, calc(100% - var(--gutter) * 2)); margin: auto; padding: 80px 0 90px; }
.product-kicker { color: var(--ink-dim); font-size: 11px; letter-spacing: .13em; }
.product-title { font-size: clamp(62px, 10vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; margin-top: 20px; }
.product-tagline { font-size: clamp(18px, 2.2vw, 28px); color: var(--ink); margin-top: 24px; }
.product-desc { color: #a4a8ac; max-width: 600px; margin-top: 16px; font-size: 13px; font-weight: 300; line-height: 1.9; }
.meta-chips, .stack-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.meta-chip, .chip { color: var(--ink-dim); font-size: 10px; border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px; }
.meta-chip strong { color: var(--ink); font-weight: 400; }
.product-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.product-stat { position: absolute; right: 0; bottom: 100px; text-align: right; }
.stat-value { display: block; font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.2; }
.stat-label { display: block; font-size: 10px; color: var(--ink-faint); margin-top: 10px; }
.principles { background: var(--paper); color: #171918; padding: 72px var(--gutter) 88px; border-radius: 32px 32px 0 0; }
.principles .section-heading { text-align: center; font-size: clamp(40px, 5.5vw, 76px); }
.principles .section-kicker { text-align: center; color: #686e69; }
.p-intro { max-width: 850px; color: #5f6660; font-weight: 300; font-size: 13px; line-height: 2; margin: 30px auto 44px; }
.principle-list { max-width: 1160px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 64px; }
.principle-item { display: flex; align-items: start; gap: 22px; padding: 22px 0; border-top: 1px solid #17191825; }
.principle-num { flex: none; font-size: 13px; color: #7e857e; line-height: 1.7; font-weight: 400; }
.principle-body h3 { font-size: 18px; font-weight: 500; }
.principle-body p { font-size: 12px; font-weight: 300; color: #5f6660; margin-top: 8px; line-height: 1.9; }
.p-dark { background: var(--bg); border-radius: 32px 32px 0 0; margin-top: -24px; position: relative; z-index: 1; padding-top: 1px; }
.p-section { width: min(1160px, calc(100% - var(--gutter) * 2)); margin: auto; padding-top: 72px; }
.p-section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.p-section-index { font-size: 10px; letter-spacing: .1em; color: var(--ink-faint); }
.p-section-head h2 { font-size: clamp(28px, 3.7vw, 50px); font-weight: 600; letter-spacing: -.03em; line-height: 1.3; }
.video-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #121415; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; background: #101213; }
.video-note { font-size: 10px; color: var(--ink-faint); padding: 12px 20px; }
.video-frame--embed { position: relative; padding-top: 56.25%; }
.video-frame--embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tech-block { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.tech-panel, .install-panel { border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.tech-panel h3, .install-panel h3 { font-size: 13px; font-weight: 400; margin-bottom: 20px; }
.tech-panel .stack-chips { margin: 0; }
.install-cmd { position: relative; padding: 20px 62px 20px 20px; border: 1px solid var(--line); border-radius: 10px; background: #141616; font: 11px/1.9 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.install-cmd .cmt { color: #8b9191; }
.copy-btn { position: absolute; right: 10px; top: 10px; color: var(--ink-dim); background: #ffffff09; border: 1px solid var(--line); border-radius: 100px; padding: 5px 10px; font: 10px var(--font); }
.copy-btn:hover { background: #ffffff18; color: #fff; }
.download-note { display: flex; gap: 12px; align-items: start; font-size: 11px; line-height: 1.9; color: var(--ink-dim); margin-bottom: 24px; }
.download-note svg { width: 16px; height: 16px; flex: none; color: var(--accent); margin-top: 3px; }
.download-note code { font-family: var(--mono); color: var(--ink); }
.download-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.download-table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.download-table th { color: var(--ink-faint); font-weight: 400; font-size: 10px; background: #ffffff05; }
.download-table th, .download-table td { padding: 16px; border-bottom: 1px solid var(--line); }
.download-table tr:last-child td { border-bottom: 0; }
.download-table tbody tr:hover { background: #ffffff05; }
.dl-file { font: 11px var(--mono); overflow-wrap: anywhere; }
.dl-meta { color: var(--ink-faint); font-size: 10px; margin-top: 6px; }
.dl-sha { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-dim); font-size: 10px; }
.dl-sha .copy-btn { position: static; }
.dl-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 100px; padding: 8px 15px; white-space: nowrap; font-size: 11px; }
.dl-btn:hover { background: #ffffff10; }
.dl-btn svg { width: 14px; height: 14px; }
.download-empty { border: 1px solid var(--line); border-radius: 18px; padding: 32px; font-size: 12px; color: var(--ink-dim); }
.download-empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.product-next { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 72px 0; }
.next-card { border-top: 1px solid var(--line); padding: 28px 0; }
.next-card .dir { font-size: 10px; color: var(--ink-faint); }
.next-card .name { font-size: 28px; font-weight: 500; margin-top: 12px; }
.next-card .tag { color: var(--ink-dim); font-size: 12px; margin-top: 6px; }
.next-card:hover .name { color: var(--next-accent, var(--ink)); }
.product-missing { min-height: 65svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.product-missing h1 { font-size: 100px; line-height: 1; }
.product-missing p { color: var(--ink-dim); margin: 24px 0; }
/* Text always remains visible; reveals only add a small motion. */
.reveal.in { animation: arrive .6s var(--ease) both; }
@keyframes arrive { from { transform: translateY(18px); } to { transform: translateY(0); } }
@media (max-width: 1000px) {
  .hero { min-height: 620px; height: 90svh; }
  .hero-object { width: 640px; max-width: 85vw; height: 520px; top: 45%; }
  .project-card { gap: 32px; grid-template-columns: 1.1fr 1fr; }
  .device-content { padding: 14px 16px; }
  .device-phone { padding-inline: 8px; border-radius: 17px; }
  .phone-message { font-size: 8px; padding: 7px 5px; }
  .phone-app { margin-top: 3px; }
  .preview-caption { margin-top: 12px; }
  .agent-node { padding: 12px; }
  .about-inner { gap: 45px; }
  .product-stat { position: static; text-align: left; margin-top: 30px; }
}
@media (max-width: 700px) {
  .nav { padding-top: 20px; gap: 16px; flex-wrap: wrap; }
  .nav-brand { font-size: 18px; }
  .nav-lang { margin-left: auto; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 12px; padding-top: 10px; }
  .nav-link { font-size: 11px; }
  .hero { height: min(800px, 100svh); min-height: 650px; }
  .hero-intro { padding-top: 30px; font-size: 8px; letter-spacing: .1em; }
  .hero-location { display: none; }
  .hero-object { max-width: none; width: min(490px, 115vw); height: 440px; top: 44%; transform: translate(-50%, -30%); }
  .cat-caption { bottom: 12px; }
  .hero-bottom { grid-template-columns: 1fr auto; gap: 18px; padding-bottom: 28px; }
  .hero-tag { font-size: 11px; line-height: 1.9; }
  .hero-scroll { display: none; }
  .btn { gap: 18px; padding: 12px 18px; font-size: 11px; }
  .belief-strip { flex-wrap: wrap; gap: 12px; padding: 20px; font-size: 9px; }
  .strip-star { font-size: 12px; }
  .section-head { align-items: start; margin-bottom: 30px; }
  .section-count { flex: none; white-space: nowrap; text-align: right; font-size: 9px; padding-top: 8px; }
  .section-heading { font-size: clamp(36px, 8vw, 56px); }
  .section-kicker { font-size: 9px; margin-bottom: 12px; }
  .project-card { grid-template-columns: 1fr; gap: 26px; }
  .project-card + .project-card { padding-top: 38px; }
  #product-stack { gap: 38px; }
  .project-visual { aspect-ratio: 1.3; }
  .project-info h3 { margin: 12px 0 15px; font-size: 42px; }
  .project-description { font-size: 12px; margin-bottom: 18px; }
  .project-actions { margin-top: 23px; }
  .preview-label { top: 18px; left: 20px; font-size: 9px; }
  .preview-foot { bottom: 18px; left: 20px; font-size: 9px; }
  .preview-open { bottom: 15px; right: 18px; }
  .device-desktop { top: 25%; }
  .window-bar { height: 22px; }
  .device-content { padding: 13px; }
  .app-identity strong { font-size: 16px; }
  .app-identity svg { width: 18px; height: 18px; }
  .device-content .preview-caption { margin-top: 8px; }
  .clipboard-line { font-size: 11px; padding: 8px 0 13px; }
  .sync-state { padding-top: 9px; }
  .device-phone { height: 64%; width: 25%; padding-top: 28px; }
  .phone-app strong { font-size: 12px; }
  .agent-core { border-radius: 18px; }
  .agent-node strong { font-size: 23px; }
  .about { border-radius: 24px 24px 0 0; }
  .about-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-heading { position: relative; }
  .about-mark { position: absolute; right: 0; top: 18px; font-size: 48px; margin: 0; }
  .about .section-heading { max-width: 75%; }
  .about-text { font-size: 19px; }
  .footer-inner { padding-block: 35px; grid-template-columns: 1fr; gap: 10px; }
  .footer-links { grid-column: 1; grid-row: 3; gap: 22px; margin-top: 12px; }
  .back-top { top: 35px; }
  .product-hero { height: auto; min-height: 0; }
  .product-hero-inner { padding: 50px 0 60px; }
  .product-title { font-size: clamp(52px, 14vw, 90px); overflow-wrap: anywhere; }
  .product-tagline { font-size: 19px; }
  .product-desc { font-size: 12px; }
  .principles { padding-block: 54px 70px; border-radius: 24px 24px 0 0; }
  .principle-list { grid-template-columns: 1fr; gap: 0; }
  .p-intro { font-size: 12px; }
  .principle-item { padding: 20px 0; }
  .p-section { padding-top: 54px; }
  .p-section-head { gap: 12px; margin-bottom: 22px; }
  .tech-block, .product-next { grid-template-columns: 1fr; }
  .tech-panel, .install-panel { padding: 20px; }
  .download-table { min-width: 640px; }
  .download-empty { padding: 24px; }
  .product-next { padding-block: 50px; gap: 0; }
}
@media (max-width: 370px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 16px; }
  #hero-cta { justify-self: start; }
  .hero-object { top: 40%; height: 390px; }
  .belief-strip { gap: 9px; font-size: 8px; }
  .phone-synced { font-size: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Product films remain opt-in; controls are never covered by decorative links. */
.project-visual.project-film { aspect-ratio: 16 / 9; background: #0c0c0c; border: 1px solid var(--line); }
.project-film video { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Catalog media works for any product; no product IDs belong in the theme. */
.product-mark { width: 96px; height: 96px; object-fit: contain; border-radius: 24px; }
.product-monogram { width: 96px; height: 96px; display: grid; place-items: center; border: 1px solid #ffffff35; border-radius: 24px; font-size: 38px; background: var(--pc); color: #111; }
.product-preview-image { width: 100%; height: 100%; object-fit: cover; display: block; }
