/* Shared style for the Rekko support / marketing site.
   Brand: deep purple gradient + serif wordmark, white text.
   No build step — single CSS file, hand-rolled. */

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

:root {
    --bg: #1a1238;
    --bg-deep: #0f0824;
    --accent: #9b59ff;
    --accent-soft: rgba(155, 89, 255, 0.18);
    --text: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.5);
    --rule: rgba(255, 255, 255, 0.08);
}

html {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    background-attachment: fixed;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    padding: 60px 24px 80px;
}

.container {
    max-width: 720px;
    margin: 0 auto;
}

.wordmark {
    font-family: "Iowan Old Style", "Georgia", serif;
    font-weight: 900;
    font-size: 32px;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-block;
    margin-bottom: 12px;
}

.wordmark .dot {
    color: var(--accent);
}

.lang-switch {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.lang-switch a {
    color: var(--text-soft);
    text-decoration: none;
    border-bottom: 1px dashed var(--text-muted);
    margin-left: 6px;
}

.lang-switch a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.lang-switch a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

h1 {
    font-family: "Iowan Old Style", "Georgia", serif;
    font-weight: 900;
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 36px;
}

h2 {
    font-family: "Iowan Old Style", "Georgia", serif;
    font-weight: 700;
    font-size: 22px;
    margin: 40px 0 12px;
    letter-spacing: -0.005em;
}

h3 {
    font-weight: 600;
    font-size: 17px;
    margin: 24px 0 8px;
    color: var(--text);
}

p {
    color: var(--text-soft);
    margin-bottom: 14px;
}

ul {
    color: var(--text-soft);
    margin: 0 0 14px 22px;
}

li {
    margin-bottom: 6px;
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-soft);
    transition: border-color 0.15s ease;
}

a:hover {
    border-bottom-color: var(--accent);
}

strong {
    color: var(--text);
    font-weight: 600;
}

hr {
    border: none;
    border-top: 1px solid var(--rule);
    margin: 40px 0;
}

footer {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
}

footer a {
    color: var(--text-soft);
    border-bottom-color: var(--rule);
}

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

@media (max-width: 480px) {
    body {
        padding: 40px 20px 60px;
    }
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 20px;
    }
}

/* ── Contact form ─────────────────────────────────────── */
.contact-form {
    display: grid;
    gap: 18px;
    margin: 8px 0 8px;
}
.field {
    display: grid;
    gap: 7px;
}
.field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.field .req {
    color: var(--accent);
}
.field input,
.field textarea {
    width: 100%;
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-muted);
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(155, 89, 255, 0.08);
}
.field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}
/* Turnstile slot collapses when no widget is rendered (no site key). */
#cf-turnstile-widget:empty {
    display: none;
}
/* Honeypot — kept out of view and out of the tab order for humans. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-send {
    font: inherit;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    cursor: pointer;
    transition: transform 0.12s ease, opacity 0.15s ease;
}
.btn-send:hover:not(:disabled) {
    transform: translateY(-1px);
}
.btn-send:disabled {
    opacity: 0.55;
    cursor: default;
}
.form-status {
    font-size: 16px;
    font-weight: 600;
}
/* On success/error the status becomes a full-width banner below the
   button (flex-basis 100% wraps it onto its own line) so it's hard to
   miss. */
.form-status.ok,
.form-status.err {
    flex-basis: 100%;
    margin-top: 6px;
    padding: 18px 22px;
    border-radius: 14px;
    font-size: 22px;
    line-height: 1.35;
}
.form-status.ok::before {
    content: "✓  ";
}
.form-status.err::before {
    content: "⚠  ";
}
.form-status.ok {
    color: #ffffff;
    background: rgba(95, 211, 141, 0.22);
    border: 1px solid rgba(95, 211, 141, 0.6);
}
.form-status.err {
    color: #ffffff;
    background: rgba(255, 107, 107, 0.18);
    border: 1px solid rgba(255, 107, 107, 0.6);
}
@media (max-width: 480px) {
    .form-status.ok,
    .form-status.err {
        font-size: 19px;
        padding: 16px 18px;
    }
}
