/* ==========================================
   index.css — API Homepage Stylesheet
   Minimal styling for the InkSync API landing page
   ========================================== */

/* ========== Theme Variables ========== */
:root {
  --primary: #444;        /* Primary text color */
  --accent: #007bff;      /* Accent color (buttons & links) */
  --bg: #f7f9fc;          /* Background color */
  --text: #333;           /* Default body text color */
}

/* ========== Reset and Layout Base ========== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ========== Body Styling ========== */
body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  max-width: 750px;
  margin: 0 auto;
  padding: 60px 30px 40px;
  box-sizing: border-box;
}

/* ========== Main Section ========== */
main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  text-align: center;
}

/* ========== Headings & Text ========== */
h1 {
  font-size: 2.5em;
  color: var(--primary);
  margin-bottom: 0.6em;
}

p {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ========== Links ========== */
a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ========== Call-to-Action Button ========== */
.cta-btn {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 600;
  margin: 1.5em 0;
  transition: background-color 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 123, 255, 0.2);
}

.cta-btn:hover {
  background-color: #0056b3;
}

/* ========== Tech Stack Note ========== */
.stack {
  font-size: 1em;
  color: #555;
}

/* ========== Disclaimer ========== */
.disclaimer {
  background-color: #f2f2f2;
  border-left: 4px solid #ccc;
  padding: 12px 16px;
  margin: 24px auto;
  max-width: 600px;
  font-style: italic;
  font-size: 1em;
  color: #666;
  border-radius: 4px;
}

/* ========== Footer Styling ========== */
footer {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 1em;
  color: #666;
}

footer nav {
  margin-top: 10px;
}

/* Footer links */
footer nav a {
  color: var(--primary);
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
}

footer nav a:hover {
  color: var(--accent);
}
