/* PinBid — Shared Styles */

:root {
  --accent: #F5A524;
  --text: #1a1a1a;
  --text-light: #666;
  --border: #e0e0e0;
  --bg: #ffffff;
  --bg-light: #f9f9f9;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #f5f5f5;
    --text-light: #aaa;
    --border: #333;
    --bg: #1a1a1a;
    --bg-light: #2a2a2a;
  }
}

:root[data-theme="dark"] {
  --text: #f5f5f5;
  --text-light: #aaa;
  --border: #333;
  --bg: #1a1a1a;
  --bg-light: #2a2a2a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  transition: background-color 0.2s, color 0.2s;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent);
  color: #000;
  font-weight: 600;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 165, 36, 0.3);
}

.btn-primary {
  display: block;
  text-align: center;
  margin: 2rem 0;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.subline {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  background-color: var(--accent);
  color: #000;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.step h3 {
  margin-top: 0;
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Definition Lists (FAQ) */
dl {
  margin: 2rem 0;
}

dt {
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

dd {
  margin-left: 0;
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Commands List */
.commands {
  background-color: var(--bg-light);
  border-left: 3px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0.25rem;
}

.commands h3 {
  margin-top: 0;
}

.commands ul {
  list-style: none;
  margin: 1rem 0 0 0;
}

.commands li {
  padding: 0.5rem 0;
  font-family: "Courier New", monospace;
  color: var(--text-light);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

footer a {
  color: var(--accent);
  margin: 0 0.5rem;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  main {
    padding: 1.5rem 1rem;
  }
}

/* Content sections */
.content {
  line-height: 1.8;
}

.content p {
  margin-bottom: 1.5rem;
}

.content ul, .content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.content li {
  margin-bottom: 0.5rem;
}
