/* ─────────────────────────────────────────────────────────────
   codewithasnari · apps — Aesthetic World: archival monograph press
   Light paper, warm ink, one controlled red. Tri-voice type.
   ───────────────────────────────────────────────────────────── */
:root {
  --paper:    oklch(0.985 0.006 85);
  --paper-2:  oklch(0.965 0.008 83);
  --ink:      oklch(0.24 0.012 55);
  --muted:    oklch(0.52 0.012 58);
  --faint:    oklch(0.66 0.010 60);
  --line:     oklch(0.90 0.008 80);
  --line-2:   oklch(0.84 0.010 78);
  --accent:   oklch(0.52 0.085 182);
  --accent-ink: oklch(0.43 0.082 184);
  --mint:     oklch(0.90 0.085 160);
  --teal-deep: oklch(0.42 0.065 182);

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pixel: "JetBrains Mono", ui-monospace, monospace;

  /* leaf mark faces (teal) */
  --vox-top: oklch(0.62 0.075 178);
  --vox-left: oklch(0.50 0.082 183);
  --vox-right: oklch(0.40 0.072 185);
  --shadow-ink: oklch(0.26 0.02 185);

  color-scheme: light;
}

/* Voxel accents ──────────────────────────────────────── */
.cube { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; }
.cube .t { fill: var(--vox-top); }
.cube .l { fill: var(--vox-left); }
.cube .r { fill: var(--vox-right); }
/* hard "extruded block" shadow for the voxel feel */
.block { box-shadow: 4px 4px 0 var(--shadow-ink); }

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: oklch(0.56 0.19 27 / 0.18); }

.wrap { width: min(100%, 760px); margin: 0 auto;
  padding-left: max(28px, env(safe-area-inset-left));
  padding-right: max(28px, env(safe-area-inset-right)); }
.wrap.wide { width: min(100%, 1200px); }
.wrap.full { width: min(100%, 1360px); }

/* Shell: fixed identity sidebar on the left, content fills middle → right */
.shell { display: grid; grid-template-columns: 290px 1fr; min-height: 100%; }
.sidebar { position: sticky; top: 0; align-self: start; height: 100vh; height: 100dvh;
  border-right: 1.5px solid var(--shadow-ink); display: flex; flex-direction: column; justify-content: space-between;
  padding: 30px 26px;
  padding-left: max(26px, env(safe-area-inset-left)); }
.sidebar .brandblock .wordmark { display: inline-flex; align-items: baseline; gap: 9px; }
.sidebar .brandblock b { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.sidebar .brandblock .mono { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--faint); }
.sidebar .sbtop { display: flex; flex-direction: column; gap: 30px; }
.sidebar .sbfoot { font-family: var(--mono); font-size: 0.7rem; color: var(--faint); letter-spacing: 0.03em;
  display: flex; flex-direction: column; gap: 8px; }
.sidebar .sbfoot a { color: var(--muted); border-bottom: 1px solid transparent; width: fit-content; padding-bottom: 1px; }
.sidebar .sbfoot a:hover { color: var(--accent-ink); border-color: var(--accent); }

/* Sidebar nav tabs */
.sbnav { display: flex; flex-direction: column; gap: 20px; }
.navsec__label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint); padding-left: 12px; margin-bottom: 9px; }
.tablist { display: flex; flex-direction: column; gap: 4px; }
.tab { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 4px;
  font-family: var(--body); font-size: 0.92rem; color: var(--muted); border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.tab:hover { background: var(--paper-2); color: var(--ink); }
.tab.active { background: var(--paper); color: var(--ink); border-color: var(--shadow-ink);
  box-shadow: 3px 3px 0 var(--shadow-ink); font-weight: 600; }
.tab[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.tab .ti { width: 14px; height: 14px; flex: none; display: grid; place-items: center; }
.tab .ti .cube { width: 14px; height: 14px; }
.tab .tdot { width: 9px; height: 9px; border-radius: 50%; }
.tab .tdot.rec { background: var(--accent); }
.tab .tdot.ghost { border: 1.5px solid var(--line-2); }
.tab .tcount { margin-left: auto; font-family: var(--mono); font-size: 0.68rem; color: var(--faint); }
.tab.active .tcount { color: var(--accent-ink); }

/* Main content header */
.maintop { margin-bottom: 30px; }
.maintop h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -0.025em; line-height: 1; margin: 0; }
.maintop p { color: var(--muted); font-size: 0.98rem; margin: 12px 0 0; max-width: 56ch; }
.main { padding: 40px; padding-right: max(40px, env(safe-area-inset-right)); min-width: 0; }

/* Empty placeholder containers (scaffolding for what's next) */
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; margin-top: 24px; }
.slot { min-height: 118px; border: 1.5px dashed var(--line-2); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; position: relative; }
.slot::after { content: "+"; font-family: var(--pixel); font-size: 0.9rem; color: var(--line-2); }
.slot .tag { position: absolute; top: 10px; left: 12px; font-family: var(--pixel); font-size: 0.56rem;
  letter-spacing: 0.1em; color: var(--line-2); }
.mainhead { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint); display: flex; align-items: center; gap: 9px; margin: 0 0 20px; }
.mainhead::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; flex: none; }
.apps + .mainhead, .slots + .mainhead { margin-top: 46px; }

@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1.5px solid var(--shadow-ink); gap: 24px; }
  .main { padding: 28px; }
  .slots { grid-template-columns: 1fr 1fr; }
}

/* Masthead ───────────────────────────────────────────── */
.masthead { display: flex; align-items: center; justify-content: space-between;
  padding-block: 26px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; }
.wordmark .mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--faint); }
.wordmark b { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.masthead nav a { font-family: var(--mono); font-size: 0.74rem; color: var(--muted);
  letter-spacing: 0.04em; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.masthead nav a:hover { color: var(--accent-ink); border-color: var(--accent); }

/* Index intro ───────────────────────────────────────── */
.intro { padding-block: 44px 10px; }
.intro .kicker { font-family: var(--pixel); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-ink); }
.intro h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.3rem, 6vw, 3.4rem);
  line-height: 1.02; letter-spacing: -0.02em; margin: 14px 0 0; text-wrap: balance; }
.intro p { color: var(--muted); font-size: 1.02rem; margin: 14px 0 0; max-width: 54ch; }

/* App index list ────────────────────────────────────── */
.index { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.index li { border-bottom: 1px solid var(--line); }
.approw { display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; gap: 20px;
  padding: 22px 14px; border: 1.5px solid transparent; border-radius: 3px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease; }
.approw:hover { background: var(--paper); border-color: var(--shadow-ink);
  box-shadow: 5px 5px 0 var(--shadow-ink); transform: translate(-2px, -2px); }
.approw .num { font-family: var(--pixel); font-size: 0.72rem; color: var(--accent-ink); align-self: start; padding-top: 8px; }
.approw .mid { min-width: 0; }
.approw .name { font-family: var(--display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em;
  line-height: 1.1; display: inline-flex; align-items: center; gap: 12px; }
.approw .name .arrow { font-family: var(--body); font-size: 1rem; color: var(--accent);
  transform: translateX(-4px); opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease; }
.approw:hover .name .arrow { transform: translateX(0); opacity: 1; }
.approw:hover .name { color: var(--accent-ink); }
.approw .desc { color: var(--muted); font-size: 0.92rem; margin-top: 4px; max-width: 46ch; }
.approw .meta { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); text-align: right;
  display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.approw .meta .plat { color: var(--ink); }
.approw .meta .tag { color: var(--accent-ink); }

.endnote { color: var(--faint); font-size: 0.86rem; font-family: var(--mono); letter-spacing: 0.02em;
  padding: 24px 2px; }

footer { border-top: 1px solid var(--line); margin-top: 20px; padding: 24px 2px 48px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
  color: var(--faint); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.03em; }

/* ── Detail page (/recorder) ─────────────────────────── */
.back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.74rem;
  color: var(--muted); letter-spacing: 0.04em; margin-top: 30px; }
.back:hover { color: var(--accent-ink); }
.back .a { transition: transform 0.2s ease; }
.back:hover .a { transform: translateX(-3px); }

.apphead { display: grid; grid-template-columns: 1fr auto; gap: 30px 40px; align-items: end;
  padding-block: 26px 30px; border-bottom: 1px solid var(--line); }
.apphead .idx { font-family: var(--pixel); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-ink); }
.apphead h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 0.98; letter-spacing: -0.025em; margin: 12px 0 0; }
.apphead .tag { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; max-width: 42ch; }
.dlbox { text-align: right; }
.btn-dl { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--paper);
  font-family: var(--body); font-weight: 600; font-size: 0.98rem; padding: 14px 24px; border-radius: 3px;
  letter-spacing: 0.01em; border: 1.5px solid var(--shadow-ink);
  box-shadow: 4px 4px 0 var(--shadow-ink); transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease; }
.btn-dl:hover { background: var(--accent-ink); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--shadow-ink); }
.btn-dl:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--shadow-ink); }
.dlmeta { font-family: var(--mono); font-size: 0.74rem; color: var(--faint); margin-top: 12px; }

.sec { padding-block: 40px; border-bottom: 1px solid var(--line); }
.sec:last-of-type { border-bottom: 0; }
.sec-k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 24px; display: flex; align-items: center; gap: 9px; }
.sec-k::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--accent); border-radius: 1px; }

/* phone screens (dark app shown on light paper) */
.screens { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.screens::-webkit-scrollbar { height: 8px; }
.screens::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.screens figure { margin: 0; scroll-snap-align: start; flex: 0 0 auto; }
.screens figcaption { margin-top: 12px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
  text-align: center; letter-spacing: 0.02em; }
.screens figcaption b { display: block; font-family: var(--body); font-size: 0.86rem; color: var(--ink);
  font-weight: 600; letter-spacing: 0; margin-bottom: 2px; }

.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat { background: var(--paper); padding: 20px; border: 1.5px solid var(--shadow-ink); border-radius: 3px;
  box-shadow: 4px 4px 0 var(--shadow-ink); transition: transform 0.16s ease, box-shadow 0.16s ease; }
.feat:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow-ink); }
.feat h3 { font-family: var(--display); font-size: 1.1rem; font-weight: 500; margin: 6px 0 6px; letter-spacing: -0.01em; }
.feat p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.feat .n { font-family: var(--pixel); font-size: 0.66rem; color: var(--accent-ink); }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 16px; }
.steps li { counter-increment: s; display: flex; gap: 14px; color: var(--muted); font-size: 0.94rem; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 0.74rem;
  color: var(--accent-ink); flex: none; padding-top: 2px; }
.steps b { color: var(--ink); font-weight: 600; }
.perms { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.perms li { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.perms li:last-child { border-bottom: 0; }
.perms .p { font-family: var(--mono); font-size: 0.74rem; color: var(--accent-ink); flex: none; width: 164px; }
.perms .d { color: var(--muted); font-size: 0.9rem; flex: 1; min-width: 150px; }
.note { margin-top: 18px; font-size: 0.86rem; color: var(--faint); border-left: 2px solid var(--accent);
  padding: 2px 0 2px 14px; }
.note b { color: var(--ink); }

@media (max-width: 720px) {
  .apphead { grid-template-columns: 1fr; align-items: start; }
  .dlbox { text-align: left; }
  .feats { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; gap: 30px; }
  .approw { grid-template-columns: 1.8rem 1fr; }
  .approw .meta { grid-column: 2; text-align: left; flex-direction: row; gap: 10px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Phone frame (dark app depiction) ───────────────────── */
.phone { width: 230px; aspect-ratio: 9 / 19.3; background: #22232a; border-radius: 30px; padding: 7px;
  box-shadow: 0 16px 40px oklch(0.24 0.012 55 / 0.22); max-width: 100%; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden;
  background: #0b0b0d; color: #fff; display: flex; flex-direction: column;
  font-family: "IBM Plex Sans", system-ui, sans-serif; }
.punch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px;
  border-radius: 50%; background: #000; box-shadow: 0 0 0 2px rgba(255,255,255,0.06); z-index: 5; }
.vf { position: absolute; inset: 0; }
.vf.live { background:
    radial-gradient(circle at 73% 22%, #fff4bd 0 2.6%, rgba(255,244,189,0.55) 3% 5.5%, rgba(255,244,189,0) 6.8%),
    linear-gradient(180deg, rgba(0,0,0,0) 70%, #35603b 70%, #27492e 100%),
    radial-gradient(150% 40% at 32% 74%, #5f8f5a 0 55%, rgba(0,0,0,0) 56%),
    radial-gradient(150% 46% at 88% 78%, #4c7d4d 0 52%, rgba(0,0,0,0) 53%),
    linear-gradient(180deg, #74b2e6 0%, #a6d3ee 52%, #d9eef9 70%); }
.vf.live::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.14) 0 1px, rgba(0,0,0,0) 1px) 33.3% 0 / 33.34% 100%,
    linear-gradient(0deg, rgba(255,255,255,0.14) 0 1px, rgba(0,0,0,0) 1px) 0 33.3% / 100% 33.34%; opacity: 0.5; }
.vf::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 72%, rgba(0,0,0,0.35)); }
.pbar { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 20px 12px 9px;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0)); }
.pdot { width: 9px; height: 9px; border-radius: 50%; background: #e53935; flex: none; }
.pdot.hide { visibility: hidden; }
.pst { font-size: 0.78rem; flex: 1; }
.ptime { font-family: "JetBrains Mono", monospace; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.pfill { flex: 1; position: relative; z-index: 1; }
.pctl { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; padding: 11px 11px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0)); }
.prow { display: flex; gap: 7px; }
.pb { flex: 1; border: none; border-radius: 999px; padding: 8px 6px; font-size: 0.68rem; font-weight: 600;
  font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 5px; line-height: 1; color: #fff; }
.pb.tonal { background: #3a383f; color: #e7e1e9; }
.pb.tonal.active { background: #4b4954; color: #fff; }
.pb.off { opacity: 0.45; }
.pb.filled { background: #e53935; }
.pb.dis { background: #2a2930; color: #76737c; }
.pb.text { background: transparent; color: #d0cad8; font-weight: 500; }
.pb.text.off { color: #67646d; }
.psq { width: 9px; height: 9px; background: #fff; border-radius: 2px; }
.pcirc { width: 9px; height: 9px; background: #fff; border-radius: 50%; }
.pq { display: flex; align-items: center; gap: 9px; }
.pq .l { font-size: 0.7rem; color: #b9b4bf; }
.pq .s { flex: 1; border-bottom: 1px solid #55525b; color: #fff; font-size: 0.72rem; padding: 5px 2px;
  display: flex; justify-content: space-between; }
.pq .s.off { opacity: 0.5; }

/* ── App tiles: each app themed as its own world ─────── */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; margin: 0; }
.appcard { position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 340px; min-width: 0; padding: 26px; border-radius: 6px; overflow: hidden; isolation: isolate;
  border: 1.5px solid var(--shadow-ink); box-shadow: 6px 6px 0 var(--shadow-ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease; }
.appcard:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--shadow-ink); }
.appcard .row-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.appcard .mid { position: relative; z-index: 2; }
.appcard .kick { font-family: var(--pixel); font-size: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; }
.appcard h2 { font-family: var(--display); font-weight: 500; font-size: 2.1rem; letter-spacing: -0.02em;
  line-height: 1; margin: 12px 0 0; }
.appcard .blurb { font-size: 0.9rem; margin: 12px 0 0; max-width: 34ch; }
.appcard .row-foot { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.appcard .meta { font-family: var(--mono); font-size: 0.72rem; }
.appcard .go { font-family: var(--mono); font-size: 0.78rem; display: inline-flex; gap: 7px; align-items: center; }
.appcard .go .ar { transition: transform 0.2s ease; }
.appcard:hover .go .ar { transform: translateX(4px); }

/* Recorder tile = camera viewfinder */
.appcard--recorder { color: #f4f4f6;
  background: radial-gradient(135% 95% at 50% 6%, #1b1d25 0%, #0c0c10 68%); }
.appcard--recorder .kick { color: #ff6a5d; }
.appcard--recorder .blurb { color: #a9acb6; }
.appcard--recorder .meta { color: #6f727c; }
.appcard--recorder .go { color: #d7d9df; }
.appcard--recorder .rec { font-family: var(--pixel); font-size: 0.62rem; letter-spacing: 0.05em; color: #ff5a4d;
  display: inline-flex; align-items: center; gap: 8px; }
.appcard--recorder .rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff3b30;
  box-shadow: 0 0 10px #ff3b30; animation: recpulse 1.6s ease-in-out infinite; }
.appcard--recorder .tc { font-family: var(--mono); font-size: 0.82rem; color: #e6e7ea; font-variant-numeric: tabular-nums; }
/* rule-of-thirds viewfinder grid */
.appcard--recorder .vfgrid { position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.07) 0 1px, transparent 1px) 33.33% 0 / 33.34% 100%,
    linear-gradient(0deg, rgba(255,255,255,0.07) 0 1px, transparent 1px) 0 33.33% / 100% 33.34%; }
/* focus brackets */
.appcard--recorder .br { position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,90,77,0.75); z-index: 2; }
.appcard--recorder .br.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.appcard--recorder .br.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.appcard--recorder .br.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.appcard--recorder .br.brr { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }

/* ghost tile for future apps */
.appcard--soon { background: var(--paper); border-style: dashed; border-color: var(--line-2);
  box-shadow: none; color: var(--faint); align-items: flex-start; justify-content: center; gap: 10px; }
.appcard--soon:hover { transform: none; box-shadow: none; }
.appcard--soon .kick { font-family: var(--pixel); font-size: 0.6rem; color: var(--faint); letter-spacing: 0.05em; }
.appcard--soon h2 { font-family: var(--display); color: var(--line-2); font-size: 1.6rem; margin: 6px 0 0; }

@keyframes recpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .appcard--recorder .rec::before { animation: none; } }

/* Soundleaf tile — leaf + waveform, honest audio/video recorder */
.appcard--soundleaf { color: #eafaf0; isolation: isolate;
  background: radial-gradient(135% 110% at 86% 0%, #15806f 0%, #0d5448 52%, #083a31 100%); }
.appcard--soundleaf .leafwm { position: absolute; right: -34px; bottom: -40px; width: 250px; height: auto;
  opacity: 0.16; z-index: 0; pointer-events: none; }
.appcard--soundleaf .brandrow { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.appcard--soundleaf .brandrow img { width: 24px; height: 24px; }
.appcard--soundleaf .brandrow .nm { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mint); }
.appcard--soundleaf .brandrow .tc { margin-left: auto; font-family: var(--mono); font-size: 0.8rem; color: #cfeae0; }
.appcard--soundleaf .wave { position: absolute; left: 24px; right: 24px; top: 44%; transform: translateY(-50%);
  z-index: 1; height: 54px; opacity: 0.85; }
.appcard--soundleaf .wave path { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.appcard--soundleaf .mid { position: relative; z-index: 2; }
.appcard--soundleaf .kick { color: var(--mint); }
.appcard--soundleaf h2 { color: #ffffff; }
.appcard--soundleaf .blurb { color: #bcdcd2; }
.appcard--soundleaf .row-foot { position: relative; z-index: 2; }
.appcard--soundleaf .meta { color: #86b3a7; }
.appcard--soundleaf .go { color: #e3f1eb; }

/* App detail: logo + title lockup */
.apptitle { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.apptitle h1 { margin: 0; }
.applogo { width: 54px; height: 54px; flex: none; }
.idx img { vertical-align: -3px; margin-right: 2px; }
