@font-face {
  font-family: Manrope;
  src: url('assets/manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
:root { --paper: #f4f5ee; --ink: #172c25; --green: #1d4334; --muted: #667660; --line: #d6ddd2; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 14px/1.6 Manrope, Arial, sans-serif; }
button, a { touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid #6ba47c; outline-offset: 5px; }
::selection { background: #c0edcc; }
img { display: block; max-width: 100%; }
.skip { position: absolute; top: -70px; left: 15px; padding: 10px; background: #c0edcc; z-index: 10; }
.skip:focus { top: 10px; }
header, main, footer { width: min(1240px, 90%); margin-inline: auto; }

header { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand img { width: 205px; height: auto; }
.brand > span { display: block; margin-top: -6px; padding-left: 10px; font-size: 10px; letter-spacing: .025em; color: var(--muted); }
.preview { font: 10px Consolas, monospace; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); padding: 5px 10px; border-radius: 20px; }

main { flex: 1; display: grid; grid-template-columns: 1.04fr 1fr; gap: 64px; align-items: center; padding-block: 16px 26px; }
.pitch { min-width: 0; }
h1 { font-size: clamp(34px, 3.5vw, 50px); font-weight: 600; line-height: 1.08; letter-spacing: -.05em; margin: 0 0 16px; }
h1 em { font-style: normal; color: #56836a; }
.connection { margin: 0 0 10px; font-size: 13px; line-height: 1.6; }
.standalone { margin: 0 0 12px; font-size: 14px; font-weight: 650; letter-spacing: -.02em; color: var(--green); }
.benefits { margin: 0 0 12px; padding-left: 17px; font-size: 13px; line-height: 1.5; }
.benefits li + li { margin-top: 5px; }
.benefits li::marker { color: #56836a; }
.integration { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 12px; row-gap: 3px; margin-bottom: 12px; }
.integration p { margin: 0; font-size: 11px; color: var(--muted); }
.dashboard-link { border: 0; background: none; color: #42674c; font-size: 10px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.compatibility-warning { display: inline-block; max-width: 100%; margin: 0 0 14px; padding: 7px 11px; border-left: 2px solid #a75b16; border-radius: 4px; background: #fff0d1; color: #693b13; font-size: 12px; line-height: 1.5; }
.compatibility-warning strong { font-weight: 700; }
.compatibility-warning a, .compatibility-contribute a { text-decoration: underline; text-underline-offset: 3px; }

.compatibility { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 18px 34px; align-items: start; padding: 26px; border: 1px solid var(--line); border-radius: 9px; }
.compatibility h2 { margin: 0 0 8px; font-size: 26px; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; }
.compatibility p { margin: 0; }
.compatibility table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.compatibility th, .compatibility td { padding: 6px 9px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compatibility thead { background: #e6eee3; }
.compatibility tbody th { font-weight: 600; }
.compatibility-contribute { grid-column: 1 / -1; }
.compatibility-contribute a { color: var(--green); }
.compatibility .compatibility-help { margin-top: 4px; font-size: 12px; }

.purchase { margin-bottom: 14px; }
.purchase-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.buy { display: flex; flex-direction: column; justify-content: space-between; gap: 2px; border: 1px solid var(--line); border-radius: 5px; padding: 8px 10px; background: var(--paper); color: var(--green); font-size: 11px; font-weight: 600; line-height: 1.4; text-align: left; transition: background .15s; }
.buy:hover { background: #e6eee3; }
.buy strong { font-size: 13px; font-weight: 700; }
.buy.bundle { border-color: var(--green); background: var(--green); color: var(--paper); }
.buy.bundle:hover { background: #2c5744; }
.shipping { margin: 6px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
.open-pitch { margin: 0 0 7px; font-size: 11px; font-weight: 600; }
.app-download { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.play-link { flex: none; display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--green); border-radius: 5px; padding: 6px 13px; background: var(--green); color: var(--paper); line-height: 1.25; transition: background .15s; }
.play-link:hover { background: #2c5744; }
.play-link > span { font-size: 9px; letter-spacing: .03em; }
.play-link strong { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.app-download p { margin: 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
.project-links { display: flex; gap: 26px; flex-wrap: wrap; }
.project-links > a { display: block; color: var(--ink); font-size: 11px; }
.project-links > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-links span { display: block; color: var(--muted); font-size: 9px; margin-top: 2px; }

.hardware-visual { margin: 0; min-width: 0; overflow: hidden; border-radius: 9px; background: radial-gradient(ellipse at 50% 40%, #f1f3ec, #e0e6dc); border: 1px solid var(--line); padding: 16px 0 18px; }
.hardware-switch { display: flex; justify-content: center; gap: 4px; }
.hardware-switch button { background: none; border: 1px solid transparent; border-radius: 20px; padding: 5px 12px; color: var(--muted); font-size: 11px; }
.hardware-switch button[aria-pressed=true] { background: var(--paper); border-color: var(--line); color: var(--green); }
.hardware-switch button:hover { color: var(--green); }
.hardware-stage { aspect-ratio: 18/13; width: 100%; }
.hardware-stage model-viewer { display: block; width: 100%; height: 100%; background: transparent; --poster-color: transparent; touch-action: pan-y; }
.hardware-stage [hidden] { display: none; }
.hardware-stage img { width: 100%; height: 100%; object-fit: contain; }
.hardware-stage > img { object-fit: cover; object-position: center 25%; padding-block: 10px; }
.hardware-visual figcaption { color: var(--muted); font: 9px/1.8 Consolas, monospace; letter-spacing: .03em; text-align: center; padding: 0 18px; }
.hardware-visual figcaption span { display: block; }
#hardware-note { font-size: 8px; }
.hardware-downloads { display: flex; justify-content: center; gap: 22px; margin-top: 6px; }
.hardware-downloads[hidden] { display: none; }
.hardware-downloads a { font: 10px Manrope, Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; color: var(--green); }

footer { border-top: 1px solid var(--line); padding-block: 13px 17px; font-size: 9px; line-height: 1.7; color: var(--muted); }
footer p { margin: 0; }
footer p + p { margin-top: 3px; }

dialog { width: min(440px, calc(100% - 36px)); max-height: 85vh; overflow: auto; background: var(--paper); color: var(--ink); padding: 34px; border: 1px solid #b2c6a6; border-radius: 10px; box-shadow: 0 25px 90px #081e2055; }
dialog::backdrop { background: #10251caa; backdrop-filter: blur(4px); }
dialog h2 { font-size: 28px; font-weight: 600; letter-spacing: -.045em; line-height: 1.2; margin: 0 20px 20px 0; }
dialog p { font-size: 12px; line-height: 1.85; color: #5f7458; margin: 0 0 25px; }
.close { position: absolute; right: 14px; top: 12px; padding: 5px; border: 0; background: none; color: #72846b; font-size: 25px; line-height: 1; }
.dialog-action { width: 100%; background: var(--green); color: var(--paper); padding: 12px 16px; border: 0; border-radius: 5px; font-size: 11px; font-weight: 600; }
.dashboard-dialog { width: min(1000px, calc(100% - 32px)); padding: 25px; max-height: 92vh; }
.dashboard-dialog h2 { font-size: 20px; letter-spacing: -.025em; margin: 0 35px 10px 0; }
.dashboard-dialog p { font-size: 11px; margin: 0 0 18px; }
.dashboard-dialog img { width: 100%; height: auto; border-radius: 6px; }
.dashboard-dialog .close { position: sticky; float: right; top: 0; margin: -10px -10px 0 0; border-radius: 50%; background: var(--paper); z-index: 1; }
.dashboard-dialog > a { display: inline-block; margin-top: 15px; font-size: 11px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1000px) {
  main { gap: 35px; }
  h1 { font-size: clamp(32px, 3.9vw, 39px); }
  .connection { font-size: 12px; }
  .benefits { font-size: 12px; }
  .project-links { gap: 20px; }
}
@media (max-width: 760px) {
  header { min-height: 82px; }
  .brand img { width: 175px; }
  .preview { font-size: 8px; padding: 5px 8px; }
  main { grid-template-columns: 1fr; gap: 26px; padding-block: 18px 26px; }
  h1 { font-size: clamp(31px, 7.5vw, 43px); }
  .connection { font-size: 13px; }
  .benefits { font-size: 13px; }
  .integration p { font-size: 11px; }
  .hardware-visual { max-width: 600px; width: 100%; justify-self: center; }
  .compatibility { grid-template-columns: minmax(0, 1fr); padding: 15px; }
  .app-download { align-items: flex-start; }
  .compatibility th, .compatibility td { padding-inline: 5px; }
  footer { font-size: 9px; }
}
@media (max-width: 480px) {
  .dashboard-dialog { padding: 18px; }
  .dashboard-dialog h2 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
