/* Guidelines / Nothing But Tips */
.tp-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-align: center;
}
.tp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.45));
}
.tp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    padding: 0 1.25rem;
    color: #fff;
}
.tp-hero__badge {
    display: inline-block;
    background: #16a34a;
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.tp-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.15;
}
.tp-hero__sub {
    color: #e5e7eb;
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0;
}

.tp-container {
    max-width: 76rem;
    margin: 0 auto;
    padding-inline: 1.25rem;
}
.tp-section {
    padding: 4rem 0;
}
.tp-section--gray {
    background: #f8fafc;
}
.tp-section--warm {
    background: #f5f5f0;
}
.tp-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}
.tp-head h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--soft-charcoal, #1a1a1a);
    margin: 0 0 0.65rem;
}
.tp-head p {
    color: var(--muted-gray, #6b7280);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}
.tp-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
    margin-bottom: 0.75rem;
}
.tp-badge--blue {
    background: #dbeafe;
    color: #1d4ed8;
}
.tp-badge--orange {
    background: #ffedd5;
    color: #c2410c;
}
.tp-badge--gray {
    background: #f1f5f9;
    color: var(--muted-gray, #6b7280);
}

.tp-grid {
    display: grid;
    gap: 1.5rem;
}
.tp-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
.tp-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.tp-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.tp-qr {
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid;
}
.tp-qr--do {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.tp-qr--dont {
    border-color: #fecaca;
    background: #fef2f2;
}
.tp-qr__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.tp-qr__badgeicon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.tp-qr--do .tp-qr__badgeicon {
    background: #16a34a;
}
.tp-qr--dont .tp-qr__badgeicon {
    background: #dc2626;
}
.tp-qr__title {
    font-size: 1.35rem;
    font-weight: 700;
}
.tp-qr--do .tp-qr__title {
    color: #14532d;
}
.tp-qr--dont .tp-qr__title {
    color: #7f1d1d;
}
.tp-qr__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.tp-qr__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #374151;
    font-size: 0.92rem;
    line-height: 1.45;
}
.tp-qr--do .tp-qr__list i {
    color: #16a34a;
    margin-top: 0.2rem;
}
.tp-qr--dont .tp-qr__list i {
    color: #dc2626;
    margin-top: 0.2rem;
}

.tp-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
}
.tp-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.tp-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.tp-card__title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--soft-charcoal, #1a1a1a);
    margin-bottom: 0.65rem;
}
.tp-card__desc {
    color: var(--muted-gray, #6b7280);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.tp-dolist {
    margin: 0 0 0.75rem;
}
.tp-dolist__label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.tp-dolist--do .tp-dolist__label {
    color: #15803d;
}
.tp-dolist--dont .tp-dolist__label {
    color: #b91c1c;
}
.tp-dolist ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.tp-dolist li {
    font-size: 0.8rem;
    color: var(--muted-gray, #6b7280);
    line-height: 1.45;
}

.tp-safety__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #ffedd5;
    color: #c2410c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.tp-safety__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.tp-safety__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted-gray, #6b7280);
    line-height: 1.45;
}
.tp-safety__list li span.dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 9999px;
    background: #ea580c;
    margin-top: 0.45rem;
    flex-shrink: 0;
}
.tp-alert {
    margin-top: 2rem;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    border-radius: 0.75rem;
    padding: 1.25rem 1.35rem;
    display: flex;
    gap: 0.75rem;
    color: #374151;
    font-size: 0.88rem;
    line-height: 1.55;
}
.tp-alert i {
    color: #c2410c;
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.tp-action {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    height: 100%;
}
.tp-action__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #f1f5f9;
    color: var(--soft-charcoal, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.tp-action__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--soft-charcoal, #1a1a1a);
    margin-bottom: 0.4rem;
}
.tp-action__desc {
    color: var(--muted-gray, #6b7280);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.tp-action__impact {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(27, 61, 47, 0.08);
    color: #1b3d2f;
    border-radius: 9999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.tp-pledge-wrap {
    text-align: center;
}
.tp-pledge {
    background: linear-gradient(135deg, #f0fdf4, #eff6ff);
    border: 2px solid #bbf7d0;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    max-width: 52rem;
    margin: 0 auto;
}
.tp-pledge p {
    color: #374151;
    font-style: italic;
    line-height: 1.75;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}
.tp-pledge__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.tp-btn {
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #15803d;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.tp-btn--solid {
    background: #1b3d2f;
   /* border-color: #1b3d2f;*/
    color: #fff;
}
.tp-btn--solid:hover {
    background: #2d6a4f;
}
.tp-btn--solid:disabled, .tp-btn--done {
    background: #2d6a4f;
    border-color: #2d6a4f;
    color: #fff;
    opacity: 0.85;
    cursor: not-allowed;
}
.tp-btn--ghost {
    background: #fff;
    color: #15803d;
}
.tp-btn--ghost:hover {
    background: #f0fdf4;
}

.tp-quote {
    position: relative;
  /*  padding: 2rem 1.25rem;*/
    background: #1F4D3A;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tp-quote p,
.tp-quote__rte p,
.tp-quote__rte h1,
.tp-quote__rte h2,
.tp-quote__rte h3 {
    max-width: 64rem;
    margin: 0 auto;
    font-size: 1.25rem;
    color: #fff;
    font-style: italic;
    font-weight: 700;
}
.tp-quote span,
.tp-quote__rte span {
    color: #bfff58;
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 1023px) {
    .tp-grid--3, .tp-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .tp-hero { min-height: 320px; }
}
@media (max-width: 767px) {
    .tp-grid--2,
    .tp-grid--3,
    .tp-grid--4 {
        grid-template-columns: 1fr;
    }
    .tp-quote {
        padding-bottom: 4rem;
    }
}

/* Pledge confirmation popup */
.tp-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(18, 41, 31, 0.55); }
.tp-modal[hidden] { display: none; }
.tp-modal__box { background: #fff; border-radius: 1.25rem; max-width: 440px; width: 100%; padding: 2rem 1.75rem 1.75rem; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.tp-modal__box { position: relative; }
.tp-modal__close { position: absolute; top: 0.85rem; right: 0.85rem; width: 2.25rem; height: 2.25rem; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: #f1f5f3; color: #4a5f54; cursor: pointer; transition: background .15s, color .15s; -webkit-appearance: none; appearance: none; }
.tp-modal__close svg { width: 1rem; height: 1rem; display: block; pointer-events: none; }
.tp-modal__close:hover { background: #dfeae4; color: #12291f; }
.tp-modal__close:focus-visible { outline: 2px solid #1f5444; outline-offset: 2px; }
.tp-modal__icon { width: 3.25rem; height: 3.25rem; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #eaf4ef; color: #1b3d2f; font-size: 1.25rem; }
.tp-modal__box h3 { font-size: 1.25rem; font-weight: 700; color: #12291f; margin: 0 0 0.6rem; }
.tp-modal__box p { font-size: 0.92rem; line-height: 1.6; color: #4a5f54; margin: 0 0 1.5rem; }
