/* WonderWander product pages (/wonderwander, /privacy, /support).
   The app's own palette and type, independent of the portfolio's Pico theme.
   System fonts only: the site's CSP allows no third-party font hosts. */

:root {
  color-scheme: dark;
  --bg: #131417;
  --band: #17191d;
  --card: #1d2025;
  --line: #23262c;
  --edge: #2a2d33;
  --text: #c9ccd2;
  --bright: #f2f0ea;
  --dim: #9aa0a8;
  --faint: #6b7078;
  --accent: #56c8d8;
  --accent-ink: #0b1215;
  --amber: #e6b450;
  --green: #7fd88f;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ww {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.ww a { color: var(--accent); }
.ww a:hover { color: #8adbe6; }
.ww img { max-width: 100%; height: auto; }
.ww h1, .ww h2, .ww h3 { color: var(--bright); margin: 0; }
.ww p { margin: 0; }

.ww-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.ww-label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.ww-label.amber { color: var(--amber); }

.ww-mark { font-family: var(--mono); letter-spacing: 0.06em; color: #e8e6e1; }
.ww-mark span { color: #8a8f98; }

/* Header */
.ww-header { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 24px 0; }
.ww-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 16px; }
.ww-brand img { width: 32px; height: 32px; }
.ww-home { font-family: var(--mono); font-size: 13px; color: var(--faint); text-decoration: none; }
.ww .ww-home:hover { color: var(--text); }
.ww-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.ww .ww-nav a { color: var(--text); text-decoration: none; }
.ww .ww-nav a.go { color: var(--accent); font-weight: 600; }

/* Buttons */
.ww-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 16px;
}
.ww .ww-btn.primary { background: var(--accent); color: var(--accent-ink); }
.ww .ww-btn.primary:hover { background: #7ad5e1; color: var(--accent-ink); }
.ww .ww-btn.ghost { border: 1px solid #3a3d44; color: #e8e6e1; font-weight: 500; }
.ww .ww-btn.ghost:hover { border-color: var(--dim); color: var(--bright); }
.ww-soon {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px dashed #3a3d44; color: var(--dim);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}

/* Hero */
.ww-hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding: 48px 0 96px; }
.ww-hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ww-hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.ww-lede { font-size: 20px; max-width: 32em; }
.ww-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.ww-meta { font-size: 14px; color: var(--dim); }
.ww-hero-shot { flex: 0 1 340px; min-width: 260px; display: flex; justify-content: center; }
.ww-hero-shot img { width: 320px; }

/* Bands */
.ww-band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ww-section { padding: 96px 0; display: flex; flex-direction: column; gap: 40px; }
.ww-section > .ww-intro { display: flex; flex-direction: column; gap: 12px; max-width: 40em; }
.ww-section h2 { font-size: clamp(30px, 4.5vw, 42px); line-height: 1.12; font-weight: 700; }
.ww-center { align-items: center; text-align: center; }
.ww-center > .ww-intro { align-items: center; }

/* Feature cards */
.ww-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.ww-card {
  background: var(--card); border: 1px solid #262930; border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.ww-card .ww-label { font-size: 12px; }
.ww-card h3 { font-size: 22px; line-height: 1.25; font-weight: 700; }
.ww-card p { font-size: 15px; }
.ww-card .ww-demo { margin-top: auto; }

.ww-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  background: var(--bg); border: 1px solid #262930; font-size: 13px; color: #e8e6e1;
}
.ww-chip.mono { font-family: var(--mono); font-size: 12px; color: var(--text); }
.ww-chip.cyan { border-color: #2f6f78; color: var(--accent); font-family: var(--mono); font-size: 12px; }
.ww-chip.amber { border-color: #5a4824; color: var(--amber); }
.ww-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ww-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }

.ww-wait {
  border-radius: 14px; border: 1px solid #33291a; background: #1d1a14; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.ww-wait-row { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ww-wait-row b { font-size: 14px; color: #ede9e0; }
.ww-wait small, .ww-wait-q { font-family: var(--mono); font-size: 12px; color: var(--amber); }
.ww-wait small { font-size: 11px; letter-spacing: 0.08em; }

.ww-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: 14px; background: var(--bg); border: 1px solid #262930;
}
.ww-panel span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #e8e6e1; }
.ww-switch { flex: none; width: 40px; height: 24px; border-radius: 12px; background: var(--green); position: relative; }
.ww-switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.ww-player { justify-content: flex-start; gap: 14px; }
.ww-player em { font-style: normal; font-family: var(--mono); font-size: 12px; color: #8a8f98; }

/* Devices */
.ww-devices { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 40px; }
.ww-devices .phone { width: 162px; }
.ww-devices .duo { width: 341px; }
.ww-devices .ipad { width: 436px; }

/* How it works */
.ww-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.ww-steps li { display: flex; flex-direction: column; gap: 10px; }
.ww-steps .n { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.ww-steps h3 { font-size: 20px; font-weight: 600; }
.ww-steps p { font-size: 15px; }

/* Privacy band */
.ww-privacy { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 96px 0; }
.ww-privacy-head { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ww-privacy-head h2 { font-size: clamp(30px, 4.5vw, 38px); line-height: 1.15; font-weight: 700; }
.ww-ticks { flex: 1 1 480px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.ww-ticks li { display: flex; gap: 14px; }
.ww-ticks li::before { content: "›"; color: var(--accent); }

/* Download */
.ww-get { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; padding: 96px 0; }
.ww-get > div {
  border-radius: 22px; border: 1px solid var(--edge); background: var(--card); padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.ww-get h3 { font-size: 24px; font-weight: 700; }
.ww-get p { font-size: 15px; }
.ww-get .ww-soon { align-self: flex-start; }
.ww-get small { font-size: 13px; color: var(--dim); }
.ww-get small a { color: inherit; text-decoration: underline; }
.ww-get .ww-dl { align-self: flex-start; }
.ww-install { margin: 0; padding-left: 20px; font-size: 14px; color: var(--dim); display: flex; flex-direction: column; gap: 4px; }

/* Footer */
.ww-footer { border-top: 1px solid var(--line); }
.ww-footer .ww-wrap { padding-top: 32px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; color: var(--dim); }
.ww-footer-row { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.ww-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.ww .ww-footer a { color: var(--dim); }
.ww .ww-footer a:hover { color: var(--text); }
.ww-legal { font-size: 12px; color: var(--faint); }

/* Long-form pages (privacy, support) */
.ww-doc { max-width: 720px; margin: 0 auto; padding: 32px 24px 96px; }
.ww-doc h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; font-weight: 700; margin-bottom: 12px; }
.ww-doc h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.ww-doc p, .ww-doc li { font-size: 16px; }
.ww-doc p + p { margin-top: 14px; }
.ww-doc ul { padding-left: 22px; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.ww-doc ul + p { margin-top: 14px; }
.ww-doc strong { color: var(--bright); }
.ww-doc code { font-family: var(--mono); font-size: 14px; color: #e8e6e1; background: var(--card); padding: 1px 6px; border-radius: 6px; }
.ww-doc .ww-updated { font-size: 14px; color: var(--dim); }
.ww-doc .ww-short { margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid #262930; }

@media (max-width: 600px) {
  body.ww { font-size: 16px; }
  .ww-wrap { padding: 0 16px; }
  .ww-hero { padding: 24px 0 64px; gap: 40px; }
  .ww-section, .ww-privacy, .ww-get { padding: 64px 0; }
  .ww-grid, .ww-get { grid-template-columns: 1fr; }
  .ww-nav { gap: 16px; }
  .ww-card { padding: 22px; }
  .ww-doc { padding: 24px 16px 64px; }
}

/* Help: contents, entries that open and close, the 1.0.1 mark */
.ww-help h3 { font-size: 15px; font-weight: 600; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin: 32px 0 8px; }
.ww-toc { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 8px; font-size: 15px; }
.ww .ww-toc a { color: var(--accent); text-decoration: none; }
.ww .ww-toc a:hover { text-decoration: underline; }
.ww-help ol { padding-left: 22px; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.ww-help ol li { font-size: 16px; }
.ww-help-tools { display: flex; gap: 16px; margin: -4px 0 4px; }
.ww .ww-textbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--dim); cursor: pointer; text-decoration: underline; }
.ww .ww-textbtn:hover { color: var(--text); }
.ww-qa { border-bottom: 1px solid var(--line); }
.ww-qa summary { cursor: pointer; padding: 14px 0; font-size: 16px; font-weight: 600; color: var(--bright); list-style-position: outside; }
.ww-qa summary::marker { color: var(--accent); }
.ww-qa[open] summary { padding-bottom: 6px; }
.ww-qa-body { padding: 0 0 18px; color: var(--text); }
.ww-qa-body p, .ww-qa-body li { font-size: 15px; }
.ww-new { display: inline-block; margin-left: 10px; padding: 1px 8px; border-radius: 999px; border: 1px solid #3a3d44; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--dim); vertical-align: 2px; }

/* Set it up with your own agent */
.ww-setup { display: flex; flex-direction: column; gap: 18px; padding: 0 0 96px; max-width: 760px; }
.ww-setup h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 700; }
.ww-setup .ww-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ww button.ww-btn { border: 0; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.ww-setup-text summary { cursor: pointer; color: var(--dim); font-size: 14px; }
.ww-setup-text pre {
  margin: 12px 0 0; padding: 16px 18px; max-height: 420px; overflow: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.55; color: #d7d5cf;
  white-space: pre-wrap; word-break: break-word;
}
@media (max-width: 640px) { .ww-setup { padding-bottom: 64px; } }
