:root {
  --bg: #0b0c0e;
  --panel: #14161a;
  --ink: #f0ebe0;
  --muted: #8a857a;
  --line: rgba(240,235,224,.12);
  --accent: #c4b59a;
  --ok: #6fbf8a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: #050505;
  color: var(--ink);
  font: 15px/1.45 system-ui, -apple-system, sans-serif;
  display: flex;
  justify-content: center;
  padding: 24px 12px 48px;
}
.phone {
  width: 390px;
  max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}
.top {
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.top .who { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.top h1 { margin: 4px 0 0; font-size: 20px; font-weight: 560; }
.mode {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}
.mode button {
  flex: 1;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}
.mode button[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(196,181,154,.12);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 12px 4px;
  font: 12px/1.2 system-ui, sans-serif;
  cursor: pointer;
}
.tabs button[aria-pressed="true"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.panel { display: none; padding: 16px 18px 24px; }
.panel.active { display: block; }
label { display: block; color: var(--muted); font-size: 12px; margin: 12px 0 6px; }
input, textarea, select {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}
textarea { min-height: 88px; resize: vertical; }
.btn {
  margin-top: 16px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  background: var(--accent);
  color: #1a1712;
  font: 600 15px system-ui, sans-serif;
  cursor: pointer;
}
.btn.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.note strong { color: var(--ink); font-weight: 560; }
.chip {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ok);
  font-size: 12px;
}
.foot {
  padding: 12px 18px 18px;
  color: var(--muted);
  font-size: 11px;
  border-top: 1px solid var(--line);
}
.foot a { color: var(--accent); }
h2 { font-size: 16px; font-weight: 560; margin: 0 0 8px; }
p.lead { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
