/* Interactive phone demo — same palette and type as site.css. */
.phone-sec { padding: 110px 0 40px; }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.phone-sec h2 { font: 400 clamp(36px, 4.4vw, 54px)/1.06 var(--serif); letter-spacing: -.015em; }
.phone-sec .lead { text-align: left; margin: 18px 0 0; max-width: 28em; color: var(--ink-2); }
.phone-list { list-style: none; margin-top: 30px; border-top: 1px solid #000; }
.phone-list li { display: grid; grid-template-columns: 28px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.phone-list li span { font: italic 20px/1 var(--serif); }
.phone-sec .hero-cta { justify-content: flex-start; margin-top: 32px; }

.phone-wrap { position: relative; display: grid; place-items: center; padding: 30px 0; }
.phone { position: relative; width: 300px; height: 612px; border-radius: 48px; background: #121211; padding: 11px;
  box-shadow: 0 0 0 1px #2a2a28, inset 0 0 0 2px #2e2e2b, 0 50px 90px -30px rgba(0,0,0,.45), 0 20px 40px -20px rgba(0,0,0,.3); }
.phone::before { content: ""; position: absolute; top: 21px; left: 50%; translate: -50% 0; width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 5; }
.ps { position: relative; height: 100%; border-radius: 38px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; font-family: var(--sans); color: var(--ink); }
.ps-status { height: 50px; flex-shrink: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 28px 4px; font: 600 14px var(--sans); }
.ps-status i { display: inline-flex; gap: 2px; align-items: flex-end; }
.ps-status i b { width: 3px; background: #000; border-radius: 1px; }
.ps-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; }
.ps-head .t { display: flex; align-items: center; gap: 8px; font: 400 21px var(--serif); }
.ps-head .t img { width: 24px; height: 24px; }
.ps-head .av { width: 28px; height: 28px; border-radius: 50%; background: #e3e2d9; }
.ps-card { margin: 0 14px; background: #fff; border-radius: 18px; padding: 14px 15px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 20px -14px rgba(0,0,0,.3); }
.ps-card .top { display: flex; justify-content: space-between; align-items: center; }
.ps-card b { font-size: 15px; }
.ps-card small { display: block; margin-top: 2px; font-size: 12px; color: var(--mute); }
.ps-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: #f0efe8; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.ps-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #000; }
.ps[data-st="ask"] .ps-pill { background: #000; color: var(--bg); }
.ps[data-st="ask"] .ps-pill::before { background: var(--bg); animation: ps-blink 1s ease-in-out infinite; }
.ps-stats { display: flex; gap: 14px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #eeede6; font-size: 11.5px; color: var(--mute); }
.ps-stats b { display: block; font: 400 17px var(--serif); color: var(--ink); }
.ps-label { padding: 18px 18px 6px; font-size: 11.5px; font-weight: 600; color: var(--mute); }
.ps-feed { flex: 1; padding: 0 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; overflow: hidden; padding-bottom: 40px; }
.ps-feed div { font: 12px/1.45 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-2); animation: ps-in .35s var(--ease-out); }
.ps-feed .ok { color: #000; font-weight: 600; }
.ps-feed .no { color: var(--mute); text-decoration: line-through; }
.ps-home { position: absolute; bottom: 8px; left: 50%; translate: -50% 0; width: 110px; height: 4px; border-radius: 4px; background: #000; z-index: 6; }

.ps-sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 4; background: #fff; border-radius: 30px; padding: 12px 16px 22px;
  box-shadow: 0 -10px 40px -10px rgba(0,0,0,.25); transform: translateY(115%); transition: transform .45s var(--ease-out); }
.ps[data-st="ask"] .ps-sheet { transform: none; }
.ps-sheet .grab { width: 36px; height: 4px; border-radius: 4px; background: #dcdcd2; margin: 0 auto 14px; }
.ps-sheet .ey { font-size: 11.5px; font-weight: 600; color: var(--mute); }
.ps-sheet h4 { font: 400 19px/1.2 var(--serif); margin-top: 4px; }
.ps-sheet code { display: block; margin-top: 10px; background: #121211; color: #f5f5ee; border-radius: 10px; padding: 10px 12px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-sheet .row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 14px; }
.ps-sheet button { height: 44px; border-radius: 13px; font: 600 14.5px var(--sans); cursor: pointer; border: 1px solid #000; transition: transform .12s var(--ease-out), background .15s ease; }
.ps-sheet button:active, .ps-sheet button.tap { transform: scale(.95); }
.ps-sheet .deny { background: #fff; color: #000; }
.ps-sheet .allow { background: #000; color: var(--bg); }
.ps-sheet .allow.tap { background: #333; }
.ps-sheet p { margin-top: 10px; text-align: center; font-size: 11px; color: var(--mute); }
.ps-toast { position: absolute; bottom: 30px; left: 50%; z-index: 7; translate: -50% 0; background: #000; color: var(--bg); border-radius: 999px; padding: 8px 14px;
  font: 500 12.5px var(--sans); white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s var(--ease-out); pointer-events: none; }
.ps-toast.on { opacity: 1; transform: none; }

/* Notes around the phone */
.pn { position: absolute; z-index: 8; display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 14px; font-size: 13px; color: var(--ink-2); box-shadow: 0 10px 24px -14px rgba(0,0,0,.25); animation: ps-bob 6s ease-in-out infinite; white-space: nowrap; }
.pn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #000; }
.pn.n1 { top: 17%; right: calc(50% + 140px); }
.pn.n2 { top: 47%; left: calc(50% + 140px); animation-delay: -2s; }
.pn.n3 { top: 30%; right: calc(50% + 140px); animation-delay: -4s; }
.phone-cap { text-align: center; font-size: 13px; color: var(--mute); margin-top: 6px; }

@keyframes ps-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes ps-blink { 50% { opacity: .35; } }
@keyframes ps-bob { 50% { transform: translateY(-6px); } }
@media (max-width: 1180px) { .pn { display: none; } }
@media (max-width: 960px) {
  .phone-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .pn { animation: none; }
  .ps-sheet, .ps-toast { transition: none; }
}
