/* SSC12 marketing-site-v1 — minimal stylesheet for /, /install, /support.
   System-font stack, max-width 720px, modest blue links, generous
   line-height. No framework. */

* {
    box-sizing: border-box;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background: #fff;
}

body {
    margin: 0;
    padding: 0;
}

main {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 20px 80px 20px;
}

header {
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

header .inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

header .inner img {
    height: 32px;
    width: auto;
}

header .inner a.brand {
    font-weight: 600;
    color: #222;
    text-decoration: none;
    font-size: 18px;
}

header nav {
    margin-left: auto;
    display: flex;
    gap: 16px;
}

header nav a {
    color: #2058a8;
    text-decoration: none;
    font-size: 14px;
}

header nav a:hover {
    text-decoration: underline;
}

footer {
    max-width: 720px;
    margin: 40px auto 0 auto;
    padding: 24px 20px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 14px;
}

h1 {
    font-size: 28px;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

h2 {
    font-size: 22px;
    margin: 32px 0 12px 0;
    line-height: 1.3;
}

h3 {
    font-size: 18px;
    margin: 24px 0 8px 0;
}

p {
    margin: 0 0 16px 0;
}

a {
    color: #2058a8;
    text-decoration: underline;
}

a:hover {
    color: #143d77;
}

a.button, button {
    display: inline-block;
    padding: 10px 20px;
    background: #2058a8;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

a.button:hover, button:hover {
    background: #143d77;
    color: #fff;
}

a.button.secondary {
    background: #fff;
    color: #2058a8;
    border: 1px solid #2058a8;
}

a.button.secondary:hover {
    background: #eef5ff;
}

ol, ul {
    padding-left: 24px;
    margin: 0 0 16px 0;
}

li {
    margin: 0 0 8px 0;
}

code, pre, .url {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
                 "Courier New", monospace;
    font-size: 14px;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
}

pre {
    padding: 12px;
    overflow-x: auto;
    border: 1px solid #ddd;
    line-height: 1.4;
}

img.screenshot {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 8px 0 24px 0;
    display: block;
}

.note {
    background: #fff7e0;
    border-left: 4px solid #d4a73b;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 4px;
}

.note h3 {
    margin-top: 0;
    color: #5a4a10;
}

/* Form ----------------------------------------------------------- */

form .field {
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

form label {
    font-weight: 500;
    color: #444;
}

form input[type=text],
form input[type=email],
form textarea {
    font-family: inherit;
    font-size: 16px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

form textarea {
    min-height: 200px;
    resize: vertical;
}

form input:focus,
form textarea:focus {
    border-color: #2058a8;
    outline: none;
}

form .field-error {
    color: #b22020;
    font-size: 13px;
}

form input.invalid,
form textarea.invalid {
    border-color: #b22020;
}

.form-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin: 16px 0;
}

.form-message.success {
    background: #e8f5e8;
    color: #1f5a1f;
    border-left: 4px solid #2c7a2c;
}

.form-message.error {
    background: #fdeaea;
    color: #7a1f1f;
    border-left: 4px solid #b22020;
}

.field-help {
    color: #777;
    font-size: 13px;
}

.beta-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #d4a73b;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 8px;
}
