/* Base layout */
:root {
  --maxw: 760px;
  --muted: #665;
  --border: #ddd;
  --bg: #fafafa;
  --link: #0366d6;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }

body {
  font-family: system-ui, Arial, sans-serif;
  color: #111;
}

/* Global header + nav */
header {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
header nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1rem;
}
header nav a {
  margin-right: .9rem;
  text-decoration: none;
  color: var(--link);
}
header nav a:hover { text-decoration: underline; }

/* Center the main content area */
main {
  max-width: var(--maxw);
  margin: 2rem auto;
  line-height: 1.6;
  padding: 0 1rem;
}

/* Typography/utilities */
h1, h2, h3 { color: #333; margin: .4em 0; }
p { margin: .6em 0 1em; }
.muted { color: var(--muted); }
.ok { color: #0a7; }
.err { color: #b00; white-space: pre-wrap; }
.hidden { display: none; }

/* Cards (restored) */
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1rem 0;
  background: var(--bg);
}

/* Forms (restored Bixby page look) */
input, button, select, textarea { font: inherit; }
button {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  cursor: pointer;
  background: #fff;
}
button:hover { background: #f4f4f4; }

input, select, textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 0.3rem 0 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

/* Simple grid row used in Bixby form */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Images in “about” screenshots */
.screenshot { border: 1px solid var(--border); border-radius: 8px; padding: 8px; background: var(--bg); }
.screenshot img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}
footer a {
  color: #06c;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}