/* ===========================================
   base/reset.css — 全局重置、排版基础、按钮、布局骨架
   依赖：base/tokens.css
=========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html.nadulite-html {
    font-family: var(--font-sans);
}

body.nadulite {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-surface);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    /* 用 svh：软键盘弹出时高度不跟着缩，避免整页被压进键盘上方 */
    min-height: 100vh;
    min-height: 100svh;
}

/* 勿在 html/body 设 overflow-x：会把 overflow-y 算成 auto，弄坏移动端 sticky 吸顶 */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.section-title {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

.section-desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 640px;
}

/* ===========================================
   Buttons
=========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
}

.btn-light:hover {
    background: #fff;
    color: var(--color-accent);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

.nadulite-main {
    min-height: 40vh;
    flex: 1;
}

/* 询盘蜜罐字段 — 移出视口，对用户不可见 */
.nd-hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Cloudflare Turnstile（TURNSTILE_ENABLED=true 时渲染） */
.nd-turnstile {
    margin: 10px 0 4px;
    min-height: 65px;
}

.nd-turnstile .cf-turnstile {
    max-width: 100%;
}

/* 联系信息掩码 — 移动端眼睛 icon 提示 + 展开强调 */
.nd-contact-guard {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.nd-contact-guard__hint {
    display: none;
    align-items: center;
    justify-content: center;
    /* 略小于正文行高，避免「眼睛比字大」 */
    width: 15px;
    height: 15px;
    padding: 0;
    color: currentColor;
    opacity: 0.65;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 50%;
    pointer-events: none;
    flex-shrink: 0;
    box-sizing: border-box;
}

.nd-contact-guard__hint-icon {
    display: block;
    flex-shrink: 0;
    width: 9px;
    height: 9px;
}

@media (hover: none), (pointer: coarse) {
    .nd-contact-guard__hint:not([hidden]) {
        display: inline-flex;
    }
}

.nd-contact-guard.is-revealed .nd-contact-guard__hint {
    display: none !important;
}

.nd-contact-guard.is-revealed .nd-contact-guard__label {
    text-decoration: underline;
    text-underline-offset: 2px;
}
