/* sieverywhere.cc's own pieces, on top of site.css (shared with sisomewhere.cc). */

/* The hero's question card, played by site.js. */
.ask { padding: 16px 18px; border-radius: 14px; transition: opacity 0.4s; }
.ask.hot { background: linear-gradient(var(--card-hi), var(--card-hi)) padding-box, var(--rim-hot) border-box; }
.ask-title { font: 400 22px/1.2 var(--serif); margin: 0; }
.ask-who { font: 13px var(--mono); color: var(--dim); margin: 4px 0 10px; }
.ask-cmd { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #000; border: 1px solid var(--line); font: 13px/1.5 var(--mono); color: var(--text); white-space: pre-wrap; }
.ask-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-status { font: 13px var(--mono); color: var(--good); margin: 10px 0 0; min-height: 1.2em; }
.chip { font: 600 13px var(--sans); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--ring); color: var(--text); background: var(--card); transition: transform 0.2s, filter 0.2s; }
.chip-hot { background: linear-gradient(135deg, #a855ff, #e23cff); border-color: transparent; color: #1a0326; }
.chip-deny { border-color: rgba(255, 31, 75, 0.6); color: #ff6d8a; }
.chip.pressed { transform: scale(0.94); filter: brightness(1.25); }
@media (prefers-reduced-motion: reduce) { .chip { transition: none; } }
.feed { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.feed li { font: 13px/1.4 var(--mono); color: var(--dim); padding: 8px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); animation: rise 0.5s ease; }
.feed li strong { color: var(--text); font-weight: 500; }
.feed li .who { color: var(--faint); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .feed li { animation: none; } }

/* Steps carry their one command. */
.code.small { margin: 14px 0 0; padding: 10px 12px; }
.code.small code { font-size: 13px; }
kbd { font: 500 14px var(--mono); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--ring); background: var(--card); }
.more { margin-top: 24px; color: var(--dim); }

/* What you can do. */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; gap: 8px; } }
.feature { border-top: 1px solid var(--ring); }
.feature p { color: var(--dim); margin: 0; }

/* The three devices. */
.phone { background: radial-gradient(400px 260px at 30% 0%, #2a0d40, #000 80%); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 14px; }
.lock-time { font: 300 36px/1 var(--sans); text-align: center; color: #f6e9ff; }
.notif { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); }
.notif div { display: grid; font-size: 12px; gap: 1px; }
.notif strong { font-size: 13px; }
.notif span { color: #d4c2e6; }
.notif code { font: 11px var(--mono); color: #f6e9ff; }
.notif-actions { display: grid; grid-template-columns: auto auto 1fr; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.08); font-size: 12px; }
.notif-actions span { padding: 6px 10px; border-left: 1px solid rgba(255, 255, 255, 0.08); text-align: center; white-space: nowrap; }
.notif-actions span:first-child { border-left: 0; }
.notif-actions span:nth-child(n+2) { color: #ff6d8a; }
.web { background: radial-gradient(360px 240px at 70% 10%, #1d1450, #000 85%); }
.sheet { display: grid; gap: 8px; width: 84%; padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--ring); }
.sheet strong { font: 400 17px var(--serif); }
.sheet code { font: 12px/1.4 var(--mono); padding: 8px; border-radius: 6px; background: #000; color: var(--text); }
.sheet-buttons { display: flex; gap: 6px; }
.hud .hud-on { color: #40ff5e; border: 1px solid #40ff5e; border-radius: 4px; padding: 0 4px; }

/* Price. */
.tools .soon { color: var(--faint); }
.tools li:nth-child(1) { color: #ff5c8a; }
.tools li:nth-child(2) { color: #10e0a0; }

/* FAQ. */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; max-width: 46em; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 1.4em; color: var(--faint); font-family: var(--mono); }
.faq details[open] summary::before { content: "–"; }
.faq details p { color: var(--dim); margin: 10px 0 0 1.4em; }

/* The setup guide. */
.guide { max-width: 760px; }
.guide h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 56px 0 10px; display: flex; gap: 14px; align-items: baseline; }
.guide h2 .step-n { flex: none; }
.guide ol, .guide ul { padding-left: 1.3em; display: grid; gap: 8px; color: var(--dim); }
.guide .note { border-left: 2px solid var(--ring); padding: 2px 0 2px 14px; color: var(--dim); }
.guide .see { font: 13px var(--mono); color: var(--faint); }
.guide code { font: 15px var(--mono); color: var(--text); }
.guide pre code { font-size: 14px; }
