/* "Why TrailTrack" comparison above the travel guide builder.
   Uses the studio tokens, so the dark theme follows automatically. */
.tp-why {
    display: grid;
    gap: 18px;
    margin: 28px 0 8px;
}

.tp-why__head { display: grid; gap: 8px; max-width: 760px; }

.tp-why__head h2 {
    margin: 0;
    color: var(--tp-ink);
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    text-wrap: balance;
}

.tp-why__head p { margin: 0; color: var(--tp-muted); font-size: 14.5px; line-height: 1.5; }

.tp-why__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tp-why__card {
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    border: 1.5px solid var(--tp-line);
    border-radius: 22px;
    background: var(--tp-card);
    box-shadow: var(--tp-shadow-sm);
}

.tp-why__card > header { display: flex; align-items: center; gap: 12px; }

.tp-why__icon {
    display: grid;
    flex: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: var(--tp-accent-soft);
    color: var(--tp-accent-ink);
}

.tp-why__icon .tp-ico { width: 21px; height: 21px; }

.tp-why__card small {
    display: block;
    color: var(--tp-faint);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tp-why__card h3 {
    margin: 3px 0 0;
    color: var(--tp-ink);
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.25;
    text-wrap: balance;
}

.tp-why__card ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }

.tp-why__card li {
    position: relative;
    padding-left: 24px;
    color: var(--tp-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.tp-why__card li::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--tp-moss);
    box-shadow: inset 0 0 0 1.5px var(--tp-forest);
    opacity: .9;
}

.tp-why__card li::after {
    content: "";
    position: absolute;
    top: 6.5px;
    left: 5px;
    width: 4px;
    height: 7px;
    border: solid var(--tp-forest);
    border-width: 0 1.8px 1.8px 0;
    transform: rotate(40deg) scale(.9);
}

.tp-why__card li b { color: var(--tp-ink); font-weight: 700; }

.tp-why__note {
    margin: 0;
    padding: 14px 18px;
    border: 1.5px dashed var(--tp-line-2, var(--tp-line));
    border-radius: 16px;
    color: var(--tp-muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.tp-why__note b { color: var(--tp-ink); }

@media (max-width: 960px) {
    .tp-why__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .tp-why { margin-top: 20px; }
    .tp-why__card { padding: 16px; border-radius: 18px; }
}

.tp-how { margin: 0 0 22px; padding: 20px 22px; border: 1.5px solid var(--tp-line); border-radius: 22px; background: var(--tp-card); box-shadow: var(--tp-shadow-sm); }
.tp-how h2 { margin: 0 0 12px; color: var(--tp-ink); font-size: 20px; }
.tp-how__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: how; }
.tp-how__steps li { position: relative; padding: 14px 14px 14px 52px; border-radius: 14px; background: var(--tp-accent-soft); color: var(--tp-muted); font-size: 14px; line-height: 1.5; counter-increment: how; }
.tp-how__steps li::before { content: counter(how); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tp-forest); color: var(--tp-card); font-weight: 700; font-size: 13px; }
.tp-how__steps b { display: block; color: var(--tp-ink); }

@media (max-width: 520px) {
    .tp-how { padding: 16px; border-radius: 18px; }
}

.tp-hint { margin: 8px 2px 0; color: var(--tp-muted); font-size: 13px; line-height: 1.45; }
