/* agency.ads2ai.com — shared styles
   Light theme, burnt orange accent (#D64C00), Oxanium font, 2px corners. */

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

:root {
  --bg: #fafaf8;
  --paper: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #D64C00;
  --border: #d8d8d8;
  --error: #b91c1c;
  --success: #15803d;
  --error-bg: #fef2f2;
  --success-bg: #f0fdf4;
}

html, body {
  font-family: 'Oxanium', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

.shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 28px 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
}
.brand span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.25;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
}
.lede {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
}

p { margin-bottom: 12px; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
a:hover { opacity: 0.8; }

label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

input[type="text"], input[type="email"] {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  border-radius: 2px;
}
input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

.field { margin-bottom: 16px; }

.btn {
  display: inline-block;
  font-family: inherit;
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.btn:hover { opacity: 0.9; }
.btn:disabled { background: var(--border); color: var(--muted); cursor: not-allowed; }
.btn.secondary {
  background: var(--paper);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
}

.box {
  background: var(--paper);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  margin-bottom: 16px;
}

.box.muted { border-left-color: var(--border); }

.error {
  background: var(--error-bg);
  border-left: 3px solid var(--error);
  padding: 12px 16px;
  color: var(--error);
  font-size: 14px;
  margin-bottom: 16px;
}
.success {
  background: var(--success-bg);
  border-left: 3px solid var(--success);
  padding: 12px 16px;
  color: var(--success);
  font-size: 14px;
  margin-bottom: 16px;
}

.help-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.mono {
  font-family: 'Menlo', 'Monaco', monospace;
  font-size: 13px;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

footer {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
footer a { color: var(--muted); border-bottom-color: var(--border); }

/* OS / install card */
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}
.install-card {
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 18px;
  text-align: center;
  border-radius: 2px;
  text-decoration: none;
  color: var(--text);
}
.install-card:hover { border-color: var(--accent); }
.install-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.install-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.install-card.suggested { border-color: var(--accent); border-width: 2px; padding: 17px; }

/* Step list */
ol.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 18px 0;
}
ol.steps li {
  counter-increment: step;
  padding: 12px 0 12px 36px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
ol.steps li:last-child { border-bottom: none; }
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
