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

:root {
    --bg: #fcf2e9;
    --surface: #ffffff;
    --border: #917069;
    --accent: #E54C4C;
    --accent-light: #FFA07A;
    --gold: #FFCC00;
    --gold-hover: #FEE066;
    --text: #402626;
    --text-muted: #817775;
    --text-dim: #B9AC9A;
    --drop: #4C9A63;
    --drop-dim: rgba(76, 154, 99, 0.1);
    --ok: #4C9A63;
}

html {
    font-size: 14px;
    scrollbar-gutter: stable !important;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    padding: 30px 0;
}

.container {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 30px;
}
.header a { display: block; }
.logo-img {
    width: 280px;
    display: block;
    object-fit: contain;
}

/* -----------------------------------------------------------------
   Typography & Globals
----------------------------------------------------------------- */
h1 {
    font-weight: 700;
    text-align: left;
    font-size: clamp(24px, 4vw, 28px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 10px 0 20px 0;
}

p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

a {
    color: var(--accent);
    text-decoration: underline;
}
a:hover { text-decoration: none; }

strong { font-weight: 800; }

/* -----------------------------------------------------------------
   Cards
----------------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 32px 42px;
    margin-bottom: 32px;
    box-shadow: -3px 3px 0 0 var(--border);
    overflow: hidden;
}

/* index.html internal card spacing */
.card-intro p { margin: 8px 0; line-height: 1.6; }
.card-intro p:first-child { margin-top: 0; }
.card-intro p:last-child { margin-bottom: 0; }
.card-intro strong { color: var(--accent); }

/* privacy.html internal card spacing */
.card-doc h1 {
    line-height: 1.2;
    margin: 10px 0 6px 0;
}
.card-doc h2 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 32px 0 12px 0;
}
.card-doc h2:first-of-type { margin-top: 0; }
.card-doc p {
    line-height: 1.65;
    margin-bottom: 14px;
}
.card-doc p:last-child { margin-bottom: 0; }
.card-doc ul {
    list-style: disc;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 18px 0;
}
.card-doc ul:last-child { margin-bottom: 0; }
.card-doc ul li {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

/* -----------------------------------------------------------------
   index.html Elements
----------------------------------------------------------------- */
.point-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    padding: 0 148px 0 0;
}
.point-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}
.point-list .tick {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--drop-dim);
    color: var(--drop);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    margin-top: 2px;
}
.point-list .point-sub {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

.reassure {
    background: var(--surface);
    border: 2px solid var(--accent-light);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 40px;
    line-height: 1.6;
    display: flex;
    gap: 14px;

    align-items: flex-start;
    box-shadow: -3px 3px 0 0 var(--accent-light);
}
.reassure .mark {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.reassure .mark svg { width: 28px; height: 28px; }

/* -----------------------------------------------------------------
   support.php Elements
----------------------------------------------------------------- */
.row-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}
.row-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}
.type-toggle {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}
.type-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    margin-bottom: -2px;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.15s;
}
.type-option.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.type-option input { display: none; }
#fields-suggestion, #fields-issue {
    margin-bottom: 10px;
}
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 6px; }
.input-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}
.input-label .req { color: var(--accent); }

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
textarea {
    resize: vertical;
    min-height: 100px;
    font-weight: 400;
}
input:focus, textarea:focus { border-color: var(--accent-light); }
input[type="file"] {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.banner {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 13px;
}
.banner-ok {
    background: var(--surface);
    border: 2px solid var(--ok);
    color: var(--ok);
}
.banner-error {
    background: var(--surface);
    border: 2px solid var(--accent-light);
    color: var(--accent);
}
.recaptcha-note {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 22px;
    margin-bottom: -12px;
    text-align: center;
    line-height: 1.5;
}
.recaptcha-note a { color: var(--text-muted); }
.grecaptcha-badge { visibility: hidden; }

/* -----------------------------------------------------------------
   Actions & Buttons
----------------------------------------------------------------- */
.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.action-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.action-group a, .action-group a:hover {
    color: var(--text);
    text-decoration: none;
}

.btn-primary, .btn-secondary {
    border-radius: 40px;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 800;
    display: inline-block;
    text-decoration: none !important;
    transition: all 0.15s;
}
.btn-primary {
    padding: 12px 26px;
    border: none;
    background: var(--gold);
    color: var(--text);
    cursor: pointer;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.btn-primary:hover { background: var(--gold-hover); }

button.btn-primary { margin-top: 6px; }
button.btn-primary:hover { transform: translateY(-1px); }
button.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    padding: 10px 24px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text) !important;
}