/* ============================================
   MicroSaaS Builder — Minimal Styles
   No JS, mobile-first, no fluff.
   ============================================ */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    background: #fafafa;
    line-height: 1.65;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.narrow {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Navbar --- */
.navbar {
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}

.brand {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.brand:hover {
    text-decoration: none;
    color: #2563eb;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.btn {
    background: #1a1a1a;
    color: #fff;
}

.btn:hover {
    background: #333;
    text-decoration: none;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #ccc;
}

.btn-outline:hover {
    background: #f0f0f0;
    text-decoration: none;
    color: #1a1a1a;
}

/* --- Hero --- */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #111;
}

.subtitle {
    font-size: 1.1rem;
    color: #444;
    max-width: 520px;
    margin: 0 auto 0.75rem;
    line-height: 1.7;
}

.tagline {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Section shared --- */
section {
    padding: 3.5rem 0;
}

h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.muted {
    color: #888;
    font-size: 0.9rem;
}

/* --- About section --- */
.about-section {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.about-section p {
    margin-bottom: 1rem;
}

/* --- Features list --- */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #333;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: #111;
}

/* --- Code block --- */
.example-section {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.code-block {
    background: #1a1a2e;
    color: #c9d1d9;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: "SF Mono", "Fira Code", "JetBrains Mono", monospace;
    font-size: 0.85rem;
    line-height: 1.7;
}

.code-block pre {
    margin: 0;
}

.kw { color: #c084fc; }
.str { color: #34d399; }
.comment { color: #6b7280; font-style: italic; }

/* --- Notes section --- */
.note-list {
    list-style: none;
}

.note-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #555;
}

.note-list li:last-child {
    border-bottom: none;
}

.note-date {
    display: inline-block;
    font-family: "SF Mono", monospace;
    font-size: 0.8rem;
    color: #999;
    min-width: 60px;
    margin-right: 0.5rem;
}

/* --- Footer --- */
.footer {
    padding: 2rem 0;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}
