* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: #faf8f4;
    color: #1f1f1d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: #c8403a; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 14px;
    background: #f0ede6;
    padding: 2px 6px;
    border-radius: 4px;
    color: #2c2c29;
}

.product-page-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 64px 32px 96px;
}

.product-back {
    display: inline-block;
    color: #6b6b67;
    font-size: 14px;
    margin-bottom: 48px;
    text-decoration: none;
}
.product-back:hover { color: #c8403a; }

.product-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2c7a3a;
    background: #e8f5ec;
    border: 1px solid #b8dfc2;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.product-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: #1f1f1d;
    margin-bottom: 10px;
}

.product-tagline {
    color: #6b6b67;
    font-size: 17px;
    margin-bottom: 32px;
}

.product-thumb {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    background: #111418;
    line-height: 0;
}
.product-thumb img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.product-body p {
    margin-bottom: 20px;
    color: #2c2c29;
}
.product-body p:last-child { margin-bottom: 0; }
.product-body strong { color: #1f1f1d; font-weight: 600; }

.product-subhead {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: #1f1f1d;
    margin-top: 36px;
    margin-bottom: 12px;
}

/* ---- Download gate -------------------------------------------------- */
.download-gate {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #ebe8e0;
}

.download-gate-title {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #1f1f1d;
    margin-bottom: 10px;
}

.download-gate-desc {
    color: #6b6b67;
    font-size: 16px;
    margin-bottom: 24px;
}

.download-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 440px;
}

.download-form input[type="email"] {
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #d9d4c5;
    border-radius: 8px;
    color: #1f1f1d;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.15s;
}
.download-form input[type="email"]:focus {
    outline: none;
    border-color: #c8403a;
}

.download-form button {
    align-self: flex-start;
    padding: 12px 26px;
    background: #c8403a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}
.download-form button:hover { background: #ad352f; }
.download-form button:disabled { background: #a09d92; cursor: not-allowed; }

.g-recaptcha { margin: 4px 0; }

.form-status {
    font-size: 14px;
    min-height: 20px;
    line-height: 1.4;
}
.form-status-ok { color: #2c5d8f; }
.form-status-error { color: #c8403a; }

/* ---- Success state -------------------------------------------------- */
.download-gate-success {
    padding: 24px;
    background: #ffffff;
    border: 1px solid #ebe8e0;
    border-radius: 12px;
    max-width: 440px;
}

.download-success-msg {
    color: #4a4a46;
    font-size: 15px;
    margin-bottom: 18px;
}

.download-btn {
    display: inline-block;
    padding: 12px 26px;
    background: #c8403a;
    color: #ffffff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}
.download-btn:hover { background: #ad352f; text-decoration: none; }

/* ---- Honeypot ------------------------------------------------------- */
.hidden-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ---- Footer --------------------------------------------------------- */
.product-footer {
    margin-top: 80px;
    padding-top: 28px;
    border-top: 1px solid #ebe8e0;
    font-size: 13px;
    color: #8a8a85;
}
.product-footer a { color: #8a8a85; }
.product-footer a:hover { color: #c8403a; }

@media (max-width: 540px) {
    .product-page-wrap { padding: 48px 22px 64px; }
    .product-title { font-size: 28px; }
    .product-back { margin-bottom: 36px; }
}
