/* blueprint-v2.css · re-skins ai-business-blueprint.html into the v2 look
 * Load after ai-business-blueprint.css. Only tokens and visual styling change;
 * markup, forms and the payment flow stay as they are.
 */

:root {
    --color-paper: #f7f6f3;
    --color-paper-soft: #f0ebe2;
    --color-paper-deep: #e9e3d6;
    --color-panel: #ffffff;
    --color-panel-warm: #f3eee4;
    --color-ink: #0c1d33;
    --color-ink-soft: #15314a;
    --color-muted: #596b7b;
    --color-rule: #d8dfe4;
    --color-rule-strong: #a8843f;
    --color-dark: #0c1d33;
    --color-dark-soft: #102b49;
    --color-dark-panel: #16304f;
    --color-dark-veil: rgba(8, 20, 42, 0.72);
    --color-dark-veil-soft: rgba(8, 20, 42, 0.42);
    --color-paper-veil: rgba(247, 246, 243, 0.92);
    --color-paper-glass: rgba(247, 246, 243, 0.1);
    --color-paper-glass-strong: rgba(247, 246, 243, 0.24);
    --color-brass: #a8843f;
    --color-brass-soft: #e2c58f;
    --color-coral: #e2c58f;
    --color-coral-soft: #f3ead7;
    --color-accent: #e2c58f;
    --color-accent-ink: #0c1d33;
    --color-focus: #1e466b;
    --color-shadow: rgba(8, 20, 42, 0.2);
    --color-shadow-soft: rgba(8, 20, 42, 0.08);
    --color-hero-overlay-strong: rgba(12, 29, 51, 0.94);
    --color-hero-overlay-mid: rgba(12, 29, 51, 0.7);
    --color-hero-overlay-clear: rgba(12, 29, 51, 0.25);
    --font-display: "Inter", "Noto Sans Thai", -apple-system, system-ui, sans-serif;
    --font-body: "Inter", "Noto Sans Thai", -apple-system, system-ui, sans-serif;
    --font-mono: "Inter", "Noto Sans Thai", system-ui, sans-serif;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --signal: #d7ff3a;
}

::selection {
    color: #0c1d33;
    background: var(--signal);
}

h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 {
    letter-spacing: -0.03em;
}

h3 {
    font-weight: 700;
}

/* small labels above headings, ConsultingThai style */
.meta-line {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--color-brass);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.meta-line::before {
    content: "";
    flex: none;
    width: 24px;
    height: 1.5px;
    background: currentColor;
}

.hero .meta-line,
.community-section .meta-line,
.statement-footer .meta-line {
    color: var(--color-brass-soft);
}

.hero .meta-line::after {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    background: var(--signal);
    border-radius: 50%;
    animation: bp-pulse 2.2s ease-in-out infinite;
}

@keyframes bp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(215, 255, 58, 0.6); }
    50% { box-shadow: 0 0 0 7px rgba(215, 255, 58, 0); }
}

/* ---------- nav floats inside the hero card ---------- */

.edge-nav {
    inset-block-start: 12px;
    inset-inline: 12px;
    padding: 18px clamp(16px, 3vw, 32px);
}

.wordmark span {
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.wordmark small {
    color: var(--color-brass-soft);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.language-toggle {
    background: var(--color-paper);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.lang-button {
    color: #0c1d33;
    border-radius: 999px;
    font-weight: 700;
}

.lang-button.is-active {
    color: #f7f6f3;
    background: #0c1d33;
}

/* ---------- buttons ---------- */

.button {
    border-radius: 999px;
    font-weight: 700;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.button--primary {
    color: #0c1d33;
    background: #e2c58f;
    border-color: #e2c58f;
}

.button--primary:hover,
.nav-cta:hover {
    color: #0c1d33;
    background: var(--signal);
    border-color: var(--signal);
    box-shadow: 0 10px 24px rgba(215, 255, 58, 0.3);
}

/* ---------- inset dark cards with light rays ---------- */

.hero,
.community-section,
.statement-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 12px;
    border-radius: 28px;
}

.community-section::before,
.statement-footer::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto;
    z-index: -1;
    height: 180%;
    background: repeating-conic-gradient(from 180deg at 75% 100%, rgba(226, 197, 143, 0.07) 0deg 0.6deg, transparent 0.6deg 4.5deg);
    -webkit-mask-image: radial-gradient(ellipse at 75% 100%, #000 10%, transparent 70%);
    mask-image: radial-gradient(ellipse at 75% 100%, #000 10%, transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    background:
        repeating-conic-gradient(from 180deg at 75% 100%, rgba(226, 197, 143, 0.06) 0deg 0.6deg, transparent 0.6deg 4.5deg),
        linear-gradient(90deg, var(--color-hero-overlay-strong), var(--color-hero-overlay-mid) 52%, var(--color-hero-overlay-clear));
}

.hero h1 {
    color: #f7f6f3;
}

.hero-lede {
    color: #e2c58f;
}

/* ---------- light sections ---------- */

.founder-section,
.decision-section,
.seat-section {
    border-block: 1px solid var(--color-rule);
}

.doc-card,
.ledger-row,
.payment-panel,
.qr-transfer-panel,
.thank-you-panel,
.proof-album,
.system-map,
.program-diagram {
    border-radius: 20px;
}

input,
select,
textarea {
    border-radius: 12px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline-color: #0c1d33;
}

@media (max-width: 40rem) {
    .hero,
    .community-section,
    .statement-footer {
        margin: 8px;
        border-radius: 22px;
    }

    .edge-nav {
        inset-block-start: 8px;
        inset-inline: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero .meta-line::after {
        animation: none;
    }
}
