/* Additions to the design (styles.css is the design, unchanged). Only what the design has no answer for:
   tab panes with real content, and the live demo logins dialog. Uses the design's tokens. */

.pane[hidden] { display: none; }
.tabs [data-tab] { cursor: pointer; }
.tabs [data-tab]:hover { color: var(--ink); }

.plist { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 640px; }
.plist li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.plist li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.plog { margin-top: 20px; max-width: 640px; font-size: 16px; color: var(--ink-2); }
.plog b { color: var(--ink); font-weight: 600; }
.plog span { color: var(--muted); font-size: 14px; margin-left: 8px; }
.plog p { margin-top: 6px; font-size: 15px; line-height: 1.55; }
.plink { color: var(--accent); font-weight: 500; }
.plink:hover { text-decoration: underline; }

/* live demo dialog */
.demo-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(11, 11, 16, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.demo-modal[hidden] { display: none; }
.demo-card { position: relative; width: min(540px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--radius-l); padding: 36px; box-shadow: 0 50px 110px -30px rgba(0, 0, 0, .5); display: grid; gap: 14px; }
.demo-card h2 { font-size: 28px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.demo-sub { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.demo-x { position: absolute; right: 18px; top: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--panel-2); font-size: 22px; line-height: 1; color: var(--ink); }
.demo-logins { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl { background: var(--panel); border-radius: var(--radius-s); padding: 16px; display: grid; gap: 4px; align-content: start; font-size: 14px; }
.dl span { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.dl .mono { font-family: var(--mono); font-size: 13px; word-break: break-all; }
.dl .copy { margin-top: 6px; border: 1px solid rgba(0, 0, 0, .12); background: #fff; border-radius: 999px; height: 30px; padding: 0 12px; font-size: 12px; font-weight: 500; color: var(--ink-2); justify-self: start; }
.dl .copy:hover { border-color: rgba(0, 0, 0, .3); color: var(--ink); }
@media (max-width: 560px) { .demo-logins { grid-template-columns: 1fr; } .demo-card { padding: 28px 22px; } }

/* WhatsApp support button (replaces the old chat widget) */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 16px;
  border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55);
  transition: transform .25s var(--ease), background .2s;
}
.wa svg { width: 26px; height: 26px; color: #25d366; }
.wa:hover { background: #000; transform: translateY(-3px); }
@media (max-width: 640px) { .wa { right: 16px; bottom: 16px; width: 56px; height: 56px; padding: 0; justify-content: center; } .wa span { display: none; } }
