/* ide.prosedoc.ai: the Prosedoc IDE's public home page and privacy policy. */
@font-face {
    font-family: 'Barlow Semi Condensed';
    font-weight: 700;
    font-display: swap;
    src: url('barlow-wordmark.woff2') format('woff2');
}

:root {
    --bg: #ffffff;
    --fg: #1f2328;
    --muted: #59636e;
    --line: #d8dee4;
    --blue: #1A73E8;
    --card: #f6f8fa;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #16181b;
        --fg: #e6e8eb;
        --muted: #9aa4ae;
        --line: #30363d;
        --blue: #6ea8ff;
        --card: #1e2125;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main, header, footer {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px;
}

header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 40px;
}

header img { width: 64px; height: 64px; }

.wordmark {
    font-family: 'Barlow Semi Condensed', system-ui, sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
    color: var(--fg);
    text-decoration: none;
}

.wordmark span { color: var(--blue); }

h1 { font-size: 28px; line-height: 1.25; margin: 32px 0 8px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
p, li { color: var(--fg); }
.lead { font-size: 18px; color: var(--muted); }
a { color: var(--blue); }

table { border-collapse: collapse; width: 100%; margin: 8px 0 16px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

/* ----- Home page ----- */
.home main, .home header.bar, .home footer { max-width: 1040px; }

header.bar { justify-content: center; padding-top: 40px; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand img { width: 120px; height: 120px; }
.brand .wordmark { font-size: 84px; line-height: 1; }

@media (max-width: 600px) {
    .brand img { width: 72px; height: 72px; }
    .brand .wordmark { font-size: 52px; }
}

.home main { min-height: calc(100vh - 170px); display: flex; align-items: center; }

.hero {
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    padding: 56px 0 40px;
}

.hero h1 {
    margin: 0 0 16px;
    font-family: 'Barlow Semi Condensed', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 6vw, 56px);
    line-height: 1.05;
}

.hero .lead { font-size: 18px; margin: 0 0 24px; }

.invite { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; margin: 0; }
.invite .dot { width: 10px; height: 10px; border-radius: 50%; background: #34A853; box-shadow: 0 0 0 4px rgba(52, 168, 83, 0.2); }

.hero-art { margin: 0; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-art .links path { stroke: #9DBDF2; }
.hero-art .tile text { fill: #fff; font: 600 13px system-ui, sans-serif; text-anchor: middle; }

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; padding-top: 32px; }
    .hero-art { max-width: 420px; }
}

footer {
    margin-top: 48px;
    padding-top: 16px;
    padding-bottom: 40px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}
