/* omarchohard product page. Warm paper, ink, one teal accent. Phone first. */
:root {
  --paper: #f2efe8;
  --ink: #24272e;
  --muted: #545862;
  --accent: #2b6a6e;
  --line: #d9d4c8;
  --code-bg: #1a1b26;
  --code-fg: #c0caf5;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.oh { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
.oh a { color: inherit; text-underline-offset: 3px; }
.oh a:hover { color: var(--accent); }
.oh h1, .oh h2, .oh h3, .oh p, .oh ul, .oh figure { margin: 0; }
.oh code, .oh pre { font-family: var(--mono); }
.oh p code { font-size: .88em; background: #e6e1d6; padding: 2px 4px; border-radius: 4px; }
.oh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.oh-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper) !important; padding: 8px 12px; border-radius: 4px; }
.oh-skip:focus { left: 16px; z-index: 2; }
.oh :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.oh-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.oh-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.oh-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 700 18px/1.5 var(--mono); text-decoration: none; }
.oh-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; text-decoration: none; }
.oh-link svg, .oh-plus svg, .oh-copy svg { width: 16px; height: 16px; }

.oh-hero { display: grid; gap: 32px; padding: 24px 0 64px; }
.oh-hero > *, .oh-split > * { min-width: 0; }
.oh h1 { font-size: 36px; line-height: 1.12; letter-spacing: -.01em; margin-bottom: 16px; }
.oh-lede { color: var(--muted); max-width: 60ch; margin-bottom: 24px !important; }
.oh-meta, .oh-note { font-size: 15px; color: var(--muted); }
.oh-meta { font-family: var(--mono); font-size: 13px; margin-top: 16px !important; }
.oh-note { margin-top: 16px !important; }
.oh-note a { display: inline-block; min-height: 24px; }

.oh-command { display: flex; align-items: center; gap: 12px; max-width: 100%; background: var(--code-bg); color: var(--code-fg); border-radius: 8px; padding: 8px 8px 8px 16px; }
.oh-command code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 14px; line-height: 2; scrollbar-width: none; }
.oh-prompt { color: #7aa2f7; font-family: var(--mono); }
.oh-copy { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 4px; background: var(--accent); color: #fff; font: 600 15px var(--sans); cursor: pointer; }
.oh-copy:hover { background: #22585b; }
.oh-copy[hidden] { display: none; }
.oh-done-icon, .oh-copy.is-done .oh-copy-icon { display: none; }
.oh-copy.is-done .oh-done-icon { display: inline-flex; }

.oh-shot img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: var(--code-bg); }
.oh-shot-hero img { border-color: #2c2f3d; box-shadow: 0 24px 48px -24px rgba(36, 39, 46, .45); }

.oh-section { position: relative; padding: 48px 0; }
/* Hairlines between sections are drawn, not borders, so a section never reads as a card. */
.oh-section::before, .oh-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.oh h2 { font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
.oh h3 { font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.oh-section p + p, .oh-section p + .oh-command, .oh-section .oh-command + p, .oh-section .oh-pre + h3 { margin-top: 16px; }
.oh-section p { max-width: 68ch; }
.oh-narrow > * { max-width: 68ch; }
.oh-split { display: grid; gap: 32px; }
.oh-apps { list-style: none; padding: 0; margin-top: 24px; }
.oh-apps li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.oh-apps span { color: var(--muted); text-align: right; }
.oh-cols { display: grid; gap: 24px; }
.oh-cols p { color: var(--muted); }
.oh-speed { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.oh-speed b { display: block; font: 700 32px/1.2 var(--mono); color: var(--accent); }
.oh-speed span { display: block; font-size: 15px; color: var(--muted); line-height: 1.45; }
.oh-pre { background: var(--code-bg); color: var(--code-fg); border-radius: 8px; padding: 16px; margin: 12px 0 32px; overflow-x: auto; font-size: 14px; line-height: 1.7; }

.oh details { border-bottom: 1px solid var(--line); }
.oh summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 12px 0; font-weight: 600; cursor: pointer; list-style: none; }
.oh summary::-webkit-details-marker { display: none; }
.oh details[open] .oh-plus { transform: rotate(45deg); }
.oh details p { padding-bottom: 16px; color: var(--muted); }

.oh-footer { position: relative; padding: 32px 0 48px; font-size: 15px; color: var(--muted); }
.oh-footer p { max-width: 68ch; }
.oh-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.oh-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 760px) {
  .oh h1 { font-size: 44px; }
  .oh-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .oh-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 48px; padding: 48px 0 64px; }
  .oh-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; gap: 48px; }
}
@media (prefers-reduced-motion: no-preference) { .oh-plus { transition: transform .15s ease; } }
