/* Oorapp site. Instrument black with a record-red and an amber LED: the two
   tracks of the app. Fonts from Bunny Fonts (no tracking). */
@import url("https://fonts.bunny.net/css?family=inter:400,500,600|inter-tight:700,800|jetbrains-mono:400,600&display=swap");

:root {
  --bg: #121110;
  --panel: #1c1a18;
  --line: #2e2a27;
  --line-2: #3a3531;
  --paper: #f2efe9;
  --text: #d9d4cd;
  --body: #b5aea6;
  --muted: #8c857d;
  --red: #fe5c45;
  --amber: #fd9046;
  --blue: #7fb2e5;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1248px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--paper); }
h1 { font-size: clamp(44px, 6.2vw, 76px); line-height: 1.05; letter-spacing: -0.035em; max-width: 1000px; }
h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
p { font-size: 18px; line-height: 1.62; color: var(--body); }
.mono { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav nav { display: flex; align-items: center; gap: 32px; font-size: 15px; color: var(--muted); }
.nav nav a:hover { color: var(--paper); }
.pill-link { color: var(--paper); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: 17px; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: var(--bg); }
.btn-red:hover { background: #ff7461; }
.btn-line { border: 1px solid var(--line-2); color: var(--paper); font-weight: 500; }
.btn-line:hover { border-color: var(--muted); }

/* Hero */
.hero { padding: 88px 0 40px; display: flex; flex-direction: column; gap: 28px; }
.hero > p { font-size: 20px; max-width: 640px; }
.hero .small { padding-left: 6px; }

.download-note a { color: var(--body); text-decoration: underline; text-underline-offset: 3px; }
.download-note a:hover { color: var(--paper); }
.install { max-width: 560px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; font-size: 15px; line-height: 24px; color: var(--text); }
.install strong { color: var(--paper); }
.install ol { margin: 8px 0 0 20px; display: flex; flex-direction: column; gap: 4px; }

/* Product shot */
.window { margin-top: 40px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.titlebar { display: flex; align-items: center; gap: 8px; padding: 16px 20px; border-bottom: 1px solid #2a2724; flex-wrap: wrap; }
.dot { width: 12px; height: 12px; border-radius: 6px; background: var(--line-2); }
.titlebar strong { font-size: 14px; font-weight: 600; padding-left: 16px; }
.player { display: flex; align-items: center; gap: 18px; padding: 22px 28px; border-bottom: 1px solid #2a2724; }
.play { width: 40px; height: 40px; border-radius: 20px; background: #2a2724; display: grid; place-items: center; flex-shrink: 0; }
.player img { flex: 1; min-width: 0; height: 64px; object-fit: cover; object-position: left; }
.player .mono { flex-shrink: 0; }
.lines { padding: 18px 20px 28px; }
.lines h3 { font-size: 17px; font-weight: 700; padding: 10px 16px 8px; }
.line { display: grid; grid-template-columns: 52px 64px 1fr; gap: 20px; padding: 10px 16px; border-radius: 10px; font-size: 16px; line-height: 24px; color: var(--text); }
.line .t { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.line .s { font-weight: 600; font-size: 15px; }
.line.now { background: #2b201c; color: var(--paper); }
.line.now .t { color: var(--body); }
.red { color: var(--red); } .amber { color: var(--amber); } .blue { color: var(--blue); }

/* Sections */
section { padding-top: 150px; }
.split { display: grid; grid-template-columns: 520px 1fr; gap: 96px; align-items: start; }
.split .body { display: flex; flex-direction: column; gap: 22px; padding-top: 6px; max-width: 600px; }
.stack { display: flex; flex-direction: column; gap: 36px; }
pre.folder { font-family: var(--mono); font-size: 14px; line-height: 26px; color: var(--body); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; overflow-x: auto; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 56px; }
.three h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.three p { font-size: 17px; }

.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.center h2.big { font-size: clamp(38px, 4.8vw, 56px); max-width: 900px; letter-spacing: -0.035em; }
.center > p { max-width: 640px; }

.note-demo { width: 100%; margin-top: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 44px 24px 36px; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.field { width: min(720px, 100%); text-align: left; display: flex; flex-direction: column; gap: 10px; }
.field div { font-size: 19px; line-height: 30px; color: var(--paper); padding: 16px 20px; border: 1px solid var(--line-2); border-radius: 12px; }
.caret { color: var(--red); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hud { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px; border-radius: 999px; background: #0b0a09; border: 1px solid var(--line-2); }
.rec { width: 10px; height: 10px; border-radius: 5px; background: var(--red); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hud .bars { display: flex; align-items: center; gap: 2px; height: 24px; }
.hud .bars i { width: 3px; background: var(--red); border-radius: 1px; animation: talk 1.1s ease-in-out infinite; }
@keyframes talk { 0%, 100% { height: 4px; } 50% { height: 22px; } }
.hud b { font-family: var(--mono); font-size: 14px; }

.head-row { display: grid; grid-template-columns: 620px 1fr; gap: 96px; align-items: end; }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.search { display: flex; align-items: center; gap: 10px; background: #252220; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.day { font-weight: 600; font-size: 13px; color: var(--muted); padding: 6px 2px 0; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 23px; color: var(--paper); }
.card small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.card .pre { font-size: 14px; line-height: 21px; color: var(--muted); }
.ask { align-self: flex-end; max-width: 420px; background: #2b201c; border-radius: 14px; padding: 12px 16px; font-size: 15px; line-height: 23px; }
.answer { font-size: 15px; line-height: 24px; color: var(--text); }
.panel code { font-family: var(--mono); font-size: 13px; color: var(--amber); }

.credits { background: var(--paper); border-radius: 24px; padding: 72px 80px; display: grid; grid-template-columns: 500px 1fr; gap: 80px; }
.credits h2 { color: var(--bg); font-size: clamp(32px, 3.6vw, 44px); }
.credits p { color: #3a3531; }
.credits .body { display: flex; flex-direction: column; gap: 20px; }
.credits a { font-family: var(--mono); font-size: 14px; font-weight: 600; color: #c2412d; }
.credits a:hover { text-decoration: underline; }

.faq { display: grid; grid-template-columns: 360px 1fr; gap: 96px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq .list { border-top: 1px solid var(--line); }
.faq summary { font-family: var(--display); font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: 16px; line-height: 26px; margin-top: 8px; }

.closing { padding-top: 180px; }
.closing h2 { font-size: clamp(40px, 5.4vw, 64px); max-width: 980px; letter-spacing: -0.035em; }

footer { padding: 140px 0 80px; }
footer .wrap { border-top: 1px solid var(--line); padding-top: 32px; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
footer p { font-size: 14px; line-height: 23px; color: var(--muted); max-width: 620px; }
footer nav { display: flex; gap: 28px; font-size: 14px; color: var(--body); flex-wrap: wrap; }
footer nav a:hover { color: var(--paper); }

/* MCP page */
.doc { max-width: 860px; }
.doc h2 { margin-top: 96px; margin-bottom: 20px; }
.doc h3 { font-size: 20px; font-weight: 700; margin: 36px 0 10px; }
.doc p + p { margin-top: 14px; }
.doc pre { font-family: var(--mono); font-size: 14px; line-height: 23px; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; overflow-x: auto; margin-top: 12px; }
.doc code { font-family: var(--mono); font-size: 15px; color: var(--amber); }
.tools { width: 100%; border-collapse: collapse; margin-top: 12px; }
.tools td { border-top: 1px solid var(--line); padding: 16px 0; vertical-align: top; font-size: 16px; line-height: 25px; color: var(--body); }
.tools td:first-child { font-family: var(--mono); font-size: 14px; color: var(--paper); width: 200px; padding-right: 24px; }
.asks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.asks li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-size: 16px; color: var(--text); }

@media (max-width: 1100px) {
  .split, .head-row, .faq, .credits { grid-template-columns: 1fr; gap: 32px; }
  .credits { padding: 48px 32px; }
  .panels, .three { grid-template-columns: 1fr; }
  section { padding-top: 110px; }
}
@media (max-width: 720px) {
  .nav nav a:not(.pill-link) { display: none; }
  .line { grid-template-columns: 44px 1fr; }
  .line .x { grid-column: 1 / -1; }
  .player img { display: none; }
  .btn { width: 100%; justify-content: center; }
}
