/* wOzy app directory: the iPhone Duo list (/iphone-duo-apps/) and every app page (/apps/<slug>/). */
:root {
  --paper: #FFFDF9;
  --card: #FFFFFF;
  --ink: #1D1A16;
  --ink-soft: #5E574D;
  --line: #E9E2D6;
  --tint: #F7F1E6;
  --orange: #F39A1E;
  --orange-deep: #A85F05;
  --ours: #FFF4E0;
  --ours-line: #F2D3A0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
svg.pose { width: 30px; height: 25px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }

/* nav, as on the wOzy home */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,253,249,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; max-width: 1180px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; display: block; }
.brand span { font-size: 27px; font-weight: 500; letter-spacing: -0.5px; color: #C8740A; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink-soft); }
.nav ul a:hover { color: var(--ink); background: #F4EEE3; }

/* hero */
.hero { padding-top: 64px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange-deep); margin: 0 0 14px; }
.kicker a { text-decoration: none; }
.hero h1 { margin: 0; font-size: clamp(40px, 6.4vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.035em; max-width: 17ch; text-wrap: balance; }
.hero .lede { margin: 24px 0 0; max-width: 62ch; font-size: clamp(19px, 2vw, 21px); line-height: 1.5; color: var(--ink-soft); }
.meta { margin: 18px 0 0; font-size: 15px; color: var(--ink-soft); }
.disclose { margin: 22px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--ours); font-size: 16px; max-width: 74ch; }
.tag-ours { display: inline-block; padding: 1px 8px; border-radius: 99px; background: var(--tint); color: var(--ink-soft); font-size: 12px; font-weight: 600; white-space: nowrap; vertical-align: 3px; letter-spacing: 0; }

main section { padding-top: 64px; }
h2 { margin: 0 0 16px; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; }
main p { max-width: 70ch; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.section-head p { margin: 0 0 16px; color: var(--ink-soft); }

/* buttons */
.cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; }
.cta:hover { color: var(--paper); background: #3A342C; }
.cta.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); margin-left: 8px; }
.cta.alt:hover { color: var(--ink); background: var(--tint); }
.cta svg { width: 16px; height: 16px; fill: currentColor; }

/* the six poses */
.poses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.poses li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.poses .ph { display: flex; align-items: center; gap: 12px; }
.poses svg.pose { width: 44px; height: 36px; }
.poses b { font-size: 19px; }
.poses p { margin: 8px 0 0; font-size: 16px; color: var(--ink-soft); }

/* filters */
.filter-bar { position: sticky; top: 68px; z-index: 5; background: rgba(255,253,249,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.filter-row + .filter-row { margin-top: 10px; }
.search { position: relative; flex: 1 1 240px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--ink-soft); fill: none; stroke-width: 2.2; }
.search input { width: 100%; min-height: 44px; padding: 8px 14px 8px 40px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: 500 16px/1.2 "Bricolage Grotesque", system-ui, sans-serif; color: var(--ink); }
.select { min-height: 44px; padding: 8px 34px 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235E574D' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; -webkit-appearance: none; appearance: none; font: 600 15px/1.2 "Bricolage Grotesque", system-ui, sans-serif; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px/1 "Bricolage Grotesque", system-ui, sans-serif; cursor: pointer; }
.chip:hover { border-color: var(--ink-soft); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .n { font-weight: 500; opacity: 0.7; }
.chip svg.pose { width: 24px; height: 20px; }
.status { margin: 14px 0 0; font-size: 16px; color: var(--ink-soft); min-height: 1.5em; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--ink-soft); margin: 4px 0 0; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.yes { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); vertical-align: -2px; }
.ring { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-soft); vertical-align: -2px; }
.empty { padding: 24px; border-radius: 20px; border: 1px dashed var(--line); color: var(--ink-soft); }

/* big recommended cards */
.entries { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.entry { display: flow-root; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px 26px; scroll-margin-top: 210px; }
.entry-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.icon { width: 56px; height: 56px; border-radius: 13px; flex: none; display: block; box-shadow: 0 3px 10px rgba(0,0,0,0.15); }
.entry h3 { margin: 0; font-size: 26px; line-height: 1.1; letter-spacing: -0.01em; font-weight: 800; }
.entry h3 a { text-decoration: none; }
.entry h3 a:hover { text-decoration: underline; }
.by { font-size: 15px; color: var(--ink-soft); margin-top: 2px; }
.best { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--tint); }
.entry p { margin: 12px 0 0; }
.facts { font-size: 15px; color: var(--ink-soft); }
a.store, a.more { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pose-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 15px; font-weight: 600; }
.pose-list .lbl { font-weight: 500; color: var(--ink-soft); }
.pose-list.also { font-weight: 500; color: var(--ink-soft); margin-top: 8px; }
.pose-list li { display: inline-flex; align-items: center; gap: 6px; }
.pose-list svg.pose { width: 26px; height: 22px; }

/* App Store screenshots */
.store-shot { float: right; width: 168px; margin: 0 0 14px 28px; }
.store-shot.wide { width: 300px; }
.store-shot.pair { width: 316px; }
.store-shot .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-shot.wide .imgs { grid-template-columns: 1fr; }
.store-shot img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(29,26,22,0.10); }
.store-shot figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 6px; text-align: center; }

/* poses gallery: photos and live frames */
.pose-gallery { clear: both; display: flex; flex-wrap: wrap; gap: 20px 18px; align-items: flex-end; justify-content: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.pose-gallery figure { margin: 0; flex: var(--r) 1 0; min-width: 0; max-width: calc(var(--r) * 300px); }
.pose-gallery figure > img { display: block; width: 100%; border-radius: 16px; }
.pose-gallery figcaption { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; margin-top: 10px; }
.pose-gallery figcaption svg.pose { width: 24px; height: 20px; }
.pose-gallery figcaption small { font-weight: 500; color: var(--ink-soft); }

/* Live iPhone Duo frames: any screenshot, folded into a pose with CSS */
.duo { --bezel: #141416; --edge: #A3A7AE; position: relative; width: 100%; perspective: 1400px; padding: 4% 0; }
.duo .body { position: relative; background: var(--bezel); box-shadow: 0 0 0 1.5px var(--edge), 0 0 0 3px #6E7178, 0 22px 34px -10px rgba(29,26,22,0.35); }
.duo .screen { width: 100%; background: #000 var(--img) center / cover no-repeat; }
.duo--closed .body { padding: 5.5%; border-radius: 9% 20% 20% 9% / 6.5% 14% 14% 6.5%; }
.duo--closed .screen { aspect-ratio: 1398 / 2034; border-radius: 4% 15% 15% 4% / 3% 10% 10% 3%; }
.duo--closed .cam { position: absolute; top: 7.5%; right: 9%; width: 6.5%; aspect-ratio: 1; border-radius: 50%; background: #050506; box-shadow: 0 0 0 2px rgba(255,255,255,0.06); }
.duo--closed .hinge { position: absolute; left: -4%; top: 2%; bottom: 2%; width: 6%; border-radius: 8px 0 0 8px; background: linear-gradient(90deg, #55585E, #B8BBC1 45%, #6E7178); z-index: -1; }
.duo--open-l .body, .duo--open-p .body { padding: 3.2%; border-radius: 7% / 10%; }
.duo--open-p .body { border-radius: 10% / 7%; }
.duo--open-l .screen { aspect-ratio: 2853 / 2007; border-radius: 4.5% / 6.5%; }
.duo--open-p .screen { aspect-ratio: 2007 / 2853; border-radius: 6.5% / 4.5%; }
.duo--open-l .body::after { content: ""; position: absolute; top: 3.2%; bottom: 3.2%; left: 50%; width: 3%; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(0,0,0,0.12) 40%, rgba(255,255,255,0.10) 55%, transparent); pointer-events: none; }
.duo--open-p .body::after { content: ""; position: absolute; left: 3.2%; right: 3.2%; top: 50%; height: 2.2%; transform: translateY(-50%); background: linear-gradient(180deg, transparent, rgba(0,0,0,0.12) 40%, rgba(255,255,255,0.10) 55%, transparent); pointer-events: none; }
/* book: inner display in landscape, folded down the middle like a book */
.duo--book .fold { display: flex; transform-style: preserve-3d; transform: rotateX(6deg); }
.duo--book .half { flex: 1 1 0; transform-style: preserve-3d; }
.duo--book .half .body { padding: 6.4% 0 6.4% 6.4%; border-radius: 14% 0 0 14% / 10% 0 0 10%; }
.duo--book .half.r .body { padding: 6.4% 6.4% 6.4% 0; border-radius: 0 14% 14% 0 / 0 10% 10% 0; }
.duo--book .half .screen { aspect-ratio: 1426 / 2007; background-size: 200% 100%; background-position: left center; border-radius: 9% 0 0 9% / 6.5% 0 0 6.5%; }
.duo--book .half.r .screen { background-position: right center; border-radius: 0 9% 9% 0 / 0 6.5% 6.5% 0; }
.duo--book .half.l { transform-origin: right center; transform: rotateY(24deg); }
.duo--book .half.r { transform-origin: left center; transform: rotateY(-24deg); }
.duo--book .half.l .screen { box-shadow: inset -24px 0 30px -18px rgba(0,0,0,0.45); }
.duo--book .half.r .screen { box-shadow: inset 24px 0 30px -18px rgba(0,0,0,0.30); }
/* seated: inner display in portrait, top half standing, bottom half flat on the table */
.duo--seated { padding: 0 6%; }
.duo--seated .fold { transform-style: preserve-3d; transform: rotateX(4deg); }
.duo--seated .half { transform-style: preserve-3d; }
.duo--seated .half .body { padding: 4.4% 4.4% 0; border-radius: 11% 11% 0 0 / 15% 15% 0 0; }
.duo--seated .half.b .body { padding: 0 4.4% 4.4%; border-radius: 0 0 11% 11% / 0 0 15% 15%; box-shadow: 0 0 0 1.5px var(--edge), 0 0 0 3px #6E7178; }
.duo--seated .half .screen { aspect-ratio: 2007 / 1426; background-size: 100% 200%; background-position: center top; border-radius: 6% 6% 0 0 / 8.5% 8.5% 0 0; }
.duo--seated .half.b .screen { background-position: center bottom; border-radius: 0 0 6% 6% / 0 0 8.5% 8.5%; }
.duo--seated .half.t { transform-origin: center bottom; transform: rotateX(-6deg); }
.duo--seated .half.b { transform-origin: center top; transform: rotateX(54deg); }
.duo--seated .half.b .screen { box-shadow: inset 0 26px 30px -20px rgba(0,0,0,0.40); }
/* tent: outer display in landscape, stood on its edges */
.duo--tent { padding: 6% 4% 0; }
.duo--tent .stand { position: relative; transform-style: preserve-3d; transform: rotateX(16deg); transform-origin: center bottom; }
.duo--tent .body { padding: 3.8%; border-radius: 14% 14% 6% 6% / 20% 20% 9% 9%; }
.duo--tent .screen { aspect-ratio: 2034 / 1398; border-radius: 10% 10% 3% 3% / 14.5% 14.5% 4.5% 4.5%; }
.duo--tent .leg { position: absolute; left: 6%; right: 6%; bottom: -2%; height: 22%; background: linear-gradient(180deg, #2A2B2E, #45474C); border-radius: 0 0 14px 14px; transform: translateZ(-60px) rotateX(-58deg); transform-origin: center bottom; z-index: -1; }

/* compact tiles for every app */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tile { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.tile > .open { box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; width: 100%; height: 100%; padding: 18px; border-radius: 22px; color: inherit; text-decoration: none; }
.tile > .open:hover { color: inherit; }
.tile > .open:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.tile:hover { border-color: #D8CDB8; }
.tile .icon { width: 52px; height: 52px; border-radius: 12px; }
.tile h3 { margin: 0; font-size: 19px; line-height: 1.2; font-weight: 800; }
.tile .pitch { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.tile .chips-s { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--tint); color: var(--ink-soft); }
.pill.free { background: #E6F2E6; color: #2E6B34; }
.pill.iap { background: #FFF0DB; color: #8A4E00; }
.pill.paid { background: #E8EEFB; color: #2F4F9C; }
.pose-dots { display: flex; gap: 2px; align-items: center; }
.pose-dots span { display: inline-flex; color: #D4CCBD; }
.pose-dots span.w { color: var(--ink-soft); }
.pose-dots span.b { color: var(--ink); }
.pose-dots svg.pose { width: 26px; height: 22px; stroke-width: 2.6; }
.pose-dots span.b svg.pose { stroke-width: 3.2; }

/* app overlay on the directory */
html.sheet-open { overflow: hidden; }
.sheet { width: min(940px, calc(100% - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(29,26,22,0.35); overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; }
.sheet::backdrop { background: rgba(29,26,22,0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet-close { position: absolute; top: 14px; right: 14px; z-index: 2; margin: 0; }
.close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; }
.close svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 30px 32px 34px; }
.sheet-hero { padding-top: 0; padding-right: 48px; }
.sheet-hero .icon { width: 88px; height: 88px; border-radius: 20px; }
.sheet-hero h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); }
.sheet-pitch { margin: 18px 0 0; font-size: 19px; color: var(--ink-soft); }
.sheet-ctas { display: flex; flex-wrap: wrap; gap: 0 8px; }
.sheet-ctas .cta.alt { margin-left: 0; }
.sheet .app-body { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.load-more { display: flex; justify-content: center; margin-top: 18px; }

/* app page */
.app-hero { padding-top: 44px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.app-hero .icon { width: 112px; height: 112px; border-radius: 25px; }
.app-hero h1 { margin: 0; font-size: clamp(36px, 5.6vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.app-hero .by { font-size: 17px; margin-top: 8px; }
.app-hero .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.app-body { display: flow-root; }
.crumbs { font-size: 15px; color: var(--ink-soft); margin: 28px 0 0; }
.crumbs a { color: var(--ink-soft); }
.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.related a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); text-decoration: none; }
.related a:hover { border-color: #D8CDB8; color: var(--ink); }
.related .icon { width: 44px; height: 44px; border-radius: 10px; }
.related b { display: block; font-size: 16px; }
.related span { font-size: 14px; color: var(--ink-soft); }

/* faq */
.q { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 820px; }
.q summary { cursor: pointer; font-size: 19px; font-weight: 700; }
.q p { margin: 10px 0 2px; color: var(--ink-soft); }
.end { padding-bottom: 72px; }

@media (max-width: 860px) {
  .poses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .store-shot, .store-shot.wide, .store-shot.pair { float: none; width: 100%; max-width: 340px; margin: 16px 0 0; }
  .store-shot:not(.pair):not(.wide) { max-width: 180px; }
}
@media (max-width: 560px) {
  .nav ul a { padding: 8px; font-size: 15px; }
  .hero { padding-top: 44px; }
  .poses { grid-template-columns: 1fr; }
  .entry { padding: 20px; scroll-margin-top: 90px; }
  .cta.alt { margin-left: 0; }
  .entry .cta { display: flex; width: max-content; }
  .filter-bar { position: static; }
  .chips { gap: 6px; }
  .chip { padding: 6px 12px 6px 8px; font-size: 14px; }
  .select { flex: 1 1 140px; }
  .pose-gallery { flex-direction: column; align-items: center; }
  .pose-gallery figure { flex: none; width: 100%; max-width: min(340px, calc(var(--r) * 360px)); }
  .grid { grid-template-columns: 1fr; }
  .app-hero { grid-template-columns: 1fr; }
  .app-hero .icon { width: 88px; height: 88px; border-radius: 20px; }
  .sheet { width: 100%; max-width: 100%; max-height: calc(100dvh - 24px); margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .sheet-body { padding: 24px 20px 30px; }
  .sheet-hero { grid-template-columns: auto 1fr; }
  .sheet-hero .icon { width: 64px; height: 64px; border-radius: 15px; }
}

/* tried-and-liked picks, collapsed by default */
.picks { margin-top: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.picks > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 22px; }
.picks > summary::-webkit-details-marker { display: none; }
.picks > summary:hover { background: var(--tint); }
.picks > summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.picks > summary b { font-size: 19px; }
.picks > summary span { color: var(--ink-soft); font-size: 15px; }
.picks > summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2.2px solid var(--ink-soft); border-bottom: 2.2px solid var(--ink-soft); transform: rotate(45deg); transition: transform .15s; flex: none; }
.picks[open] > summary::after { transform: rotate(-135deg); }
.picks .entries { padding: 4px 16px 18px; }
.picks .entry { border-color: var(--line); }
.picks .picks-note { margin: 0; padding: 0 20px 6px; font-size: 15px; color: var(--ink-soft); }
