/*
Theme Name: AiWord
Theme URI: https://hapince.site
Author: 瀚普斯科技
Author URI: https://hapince.site
Description: 一个由 AI 全权驱动建站的 WordPress 主题。在 WordPress Customizer 内与通义 Qwen 对话，AI 直接生成页面、区块、CSS、JS，并能同时生成配图插入到布局中。所有操作通过沙箱实时预览，确认后才写入生产。零插件依赖，专为高品质个人站、Portfolio、写作站设计。
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aiword
Tags: ai, portfolio, resume, one-page, custom-colors, custom-menu, translation-ready
*/

/* ---------- AiWord 基础 tokens（AI 生成的样式可继承覆盖） ---------- */
:root {
    --aiword-bg: #FAF9F5;
    --aiword-surface: #FFFFFF;
    --aiword-text: #2B2A26;
    --aiword-text-muted: #6E6B5E;
    --aiword-border: #E5E2D5;
    --aiword-accent: #C96442;
    --aiword-font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --aiword-font-serif: "Charter", "Iowan Old Style", "Source Han Serif SC",
        "Songti SC", Georgia, serif;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--aiword-font-sans);
    color: var(--aiword-text);
    background: var(--aiword-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: var(--aiword-font-serif);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--aiword-text);
    line-height: 1.25;
}

*, *::before, *::after { box-sizing: border-box; }

a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--aiword-accent); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: rgba(201, 100, 66, .18); }
