.phase-tool {
    --pt-bg: #07111f;
    --pt-card: #0f1a2e;
    --pt-card-raised: #14213a;
    --pt-border: rgba(103, 232, 249, .2);
    --pt-text: #e2e8f0;
    --pt-muted: #9aa9be;
    --pt-accent: #67e8f9;
    max-width: 1160px;
    margin: 0 auto;
    padding: 3.5rem 1rem 5rem;
    color: var(--pt-text);
}
.phase-tool * { box-sizing: border-box; }
.phase-tool__hero { max-width: 880px; margin: 0 auto 2rem; text-align: center; }
.phase-tool__eyebrow { color: var(--pt-accent); font-size: .78rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.phase-tool__hero h1 { margin: .75rem 0; color: #f8fafc; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.045em; }
.phase-tool__hero p { margin: .5rem auto; color: var(--pt-muted); font-size: 1.04rem; line-height: 1.7; }
.phase-tool__trust { color: #a7f3d0 !important; font-size: .88rem !important; }
.phase-tool__card { margin-top: 1.25rem; padding: 1.35rem; border: 1px solid var(--pt-border); border-radius: 17px; background: linear-gradient(145deg, var(--pt-card-raised), var(--pt-card)); }
.phase-tool__card h2 { margin: 0 0 .35rem; color: #f8fafc; font-size: 1.35rem; }
.phase-tool__intro { margin: 0 0 1rem; color: var(--pt-muted); line-height: 1.55; }
.phase-tool__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.phase-tool__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.phase-tool__field { min-width: 0; }
.phase-tool__field--wide { grid-column: 1 / -1; }
.phase-tool__field label { display: block; margin-bottom: .38rem; color: #cbd5e1; font-size: .82rem; font-weight: 750; }
.phase-tool__field input,
.phase-tool__field select,
.phase-tool__field textarea {
    width: 100%; min-width: 0; padding: .67rem .72rem; color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .25); border-radius: 9px;
    background: #080f1d; font: inherit;
}
.phase-tool__field textarea { min-height: 105px; resize: vertical; line-height: 1.45; }
.phase-tool__help { display: block; margin-top: .3rem; color: #7f91a9; font-size: .73rem; line-height: 1.4; }
.phase-tool__actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; }
.phase-tool__button { min-height: 42px; padding: .62rem .9rem; border-radius: 9px; border: 1px solid var(--pt-border); background: rgba(15, 23, 42, .72); color: #cbd5e1; font-weight: 800; cursor: pointer; }
.phase-tool__button--primary { color: #07111f; border-color: transparent; background: linear-gradient(110deg, #67e8f9, #a5b4fc); }
.phase-tool__button:disabled { opacity: .5; cursor: not-allowed; }
.phase-tool__error { margin-top: 1rem; padding: .8rem 1rem; border: 1px solid rgba(248, 113, 113, .35); border-radius: 10px; color: #fecaca; background: rgba(127, 29, 29, .2); }
.phase-tool__stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.phase-tool__stat { padding: 1rem; border: 1px solid rgba(148, 163, 184, .16); border-radius: 12px; background: rgba(2, 8, 23, .32); }
.phase-tool__stat strong { display: block; color: #f8fafc; font-size: 1.45rem; }
.phase-tool__stat span { color: var(--pt-muted); font-size: .78rem; }
.phase-tool__table-wrap { overflow-x: auto; }
.phase-tool__table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.phase-tool__table th, .phase-tool__table td { padding: .7rem; border-bottom: 1px solid rgba(148, 163, 184, .14); text-align: left; vertical-align: top; }
.phase-tool__table th { color: var(--pt-accent); font-size: .72rem; text-transform: uppercase; }
.phase-tool__preview { padding: 1rem; border-radius: 11px; background: #fff; color: #172033; line-height: 1.55; }
.phase-tool__preview h1, .phase-tool__preview h2 { color: #111827; }
.phase-tool__preview footer { margin-top: 2rem; padding-top: .8rem; border-top: 1px solid #dbe3ed; color: #64748b; font-size: .78rem; }
.phase-tool__swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.phase-tool__swatch { min-height: 135px; padding: .9rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; display: flex; flex-direction: column; justify-content: space-between; font-size: .82rem; font-weight: 750; }
.phase-tool__pair { display: flex; gap: .5rem; align-items: center; }
.phase-tool__dot { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .32); }
.phase-tool__upgrade { text-align: center; }
.phase-tool__upgrade a, .phase-tool a { color: var(--pt-accent); font-weight: 750; }
@media (max-width: 780px) {
    .phase-tool__grid, .phase-tool__grid--three, .phase-tool__stat-grid { grid-template-columns: 1fr; }
    .phase-tool__swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) { .phase-tool__swatches { grid-template-columns: 1fr; } }
