/* Ported from the Yuta Digital trade.css by scripts/port_styles.py: same layout, DEVA colours. Do not edit by hand. */
/* Trade pages (/hvac/, /plumbing/, /roofing/, /event-planners/, /catering/). Built by scripts/build_trade_pages.py */

.tp-wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.tp-narrow > * { max-width: 760px; }
.tp-final .tp-narrow > * { margin-left: auto; margin-right: auto; }
.tp-section { padding: 72px 0; border-top: 1px solid var(--brand-border); }
.tp-section:first-of-type { border-top: 0; }

.tp-crumbs { font-size: 12px; color: #6F727F; padding-top: 28px; }
.tp-crumbs a { color: #121A4D; font-weight: 600; text-decoration: none; }
.tp-crumbs a:hover { text-decoration: underline; }

.tp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #2C3A9E; margin: 0 0 16px; }
.tp-h1 { font-family: var(--font-serif); font-weight: 700; font-size: 40px; line-height: 1.1; color: #121A4D; margin: 0; max-width: 760px; text-wrap: balance; }
.tp-h2 { font-family: var(--font-serif); font-weight: 700; font-size: 28px; line-height: 1.2; color: #121A4D; margin: 0 0 12px; max-width: 680px; text-wrap: balance; }
.tp-h3 { font-size: 16px; font-weight: 700; color: #121A4D; margin: 0 0 8px; text-wrap: balance; }
.tp-lead { font-size: 18px; line-height: 1.6; color: #454956; margin: 20px 0 0; max-width: 640px; text-wrap: pretty; }
.tp-sub { font-size: 16px; line-height: 1.6; color: #454956; margin: 0 0 32px; max-width: 640px; text-wrap: pretty; }
.tp-body { font-size: 15px; line-height: 1.6; color: #454956; margin: 0; text-wrap: pretty; }

.tp-hero { padding: 40px 0 64px; }
.tp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color 0.15s ease, border-color 0.15s ease; }
.tp-btn-primary { background: #121A4D; color: #fff; }
.tp-btn-primary:hover { background: #1B2468; }
.tp-btn-ghost { background: #fff; color: #121A4D; border: 1px solid #BABFD6; }
.tp-btn-ghost:hover { border-color: #2C3A9E; }
.tp-note { font-size: 13px; color: #6F727F; margin: 14px 0 0; }

.tp-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .tp-grid-3 { grid-template-columns: repeat(3, 1fr); } .tp-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.tp-card { background: #fff; border: 1px solid var(--brand-border); border-radius: 14px; padding: 22px; height: 100%; display: flex; flex-direction: column; gap: 8px; }
.tp-card-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #12588A; }
.tp-proof { margin-top: auto; padding-top: 12px; border-top: 1px solid #E3E7F0; font-size: 13px; line-height: 1.5; color: #6F727F; }
.tp-proof strong { color: #121A4D; }

.tp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tp-list li { position: relative; padding: 16px 18px 16px 46px; background: #fff; border: 1px solid var(--brand-border); border-radius: 12px; font-size: 15px; line-height: 1.55; color: #454956; }
.tp-list li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: #EAF0FD; box-shadow: inset 0 0 0 4px #5285C9; }
.tp-list strong { color: #121A4D; }

.tp-searches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tp-searches li { font-size: 14px; color: #121A4D; background: #EFF3F9; border: 1px solid #CDD3DE; border-radius: 999px; padding: 8px 14px; }

.tp-price { background: var(--brand-forest); color: #fff; border-radius: 18px; padding: 32px; display: grid; gap: 24px; }
@media (min-width: 768px) { .tp-price { grid-template-columns: 1fr 1.3fr; align-items: center; padding: 40px; } }
.tp-price-num { font-family: var(--font-serif); font-weight: 700; font-size: 48px; line-height: 1; }
.tp-price-num small { font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: #ABB0C7; }
.tp-price-was { font-size: 14px; color: #ABB0C7; margin-top: 8px; }
.tp-price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tp-price li { font-size: 15px; line-height: 1.5; color: #E9EBF2; padding-left: 22px; position: relative; }
.tp-price li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #7DB8FF; }
.tp-price a { color: #fff; font-weight: 700; }

.tp-faq { display: grid; gap: 12px; }
.tp-faq details { background: #fff; border: 1px solid var(--brand-border); border-radius: 12px; padding: 0 20px; }
.tp-faq summary { cursor: pointer; list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 700; color: #121A4D; }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: "+"; font-size: 20px; color: #2C3A9E; flex-shrink: 0; }
.tp-faq details[open] summary::after { content: "\2212"; }
.tp-faq details p { font-size: 15px; line-height: 1.6; color: #454956; margin: 0 0 18px; text-wrap: pretty; }

.tp-final { text-align: center; }
.tp-final .tp-h2, .tp-final .tp-sub { margin-left: auto; margin-right: auto; }
.tp-final .tp-ctas { justify-content: center; }

.tp-others { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-others a { font-size: 14px; font-weight: 600; color: #121A4D; text-decoration: none; padding: 10px 16px; border: 1px solid #CDD3DE; border-radius: 999px; background: #fff; min-height: 44px; display: inline-flex; align-items: center; }
.tp-others a:hover { border-color: #2C3A9E; }

@media (max-width: 767px) {
  .tp-h1 { font-size: 32px; }
  .tp-h2 { font-size: 24px; }
  .tp-lead { font-size: 16px; }
  .tp-section { padding: 56px 0; }
  .tp-price { padding: 28px 22px; }
  .tp-price-num { font-size: 40px; }
  .tp-btn { width: 100%; }
}

/* Sample comparison page (/sample-comparison/). Built by scripts/build_sample_page.py */
.tp-table-wrap { overflow-x: auto; border: 1px solid var(--brand-border); border-radius: 14px; background: #fff; }
.tp-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; color: #454956; }
.tp-table th, .tp-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #E3E7F0; vertical-align: top; }
.tp-table thead th { font-size: 12px; font-weight: 700; color: #121A4D; background: #EFF3F9; }
.tp-table tbody th { font-weight: 600; color: #121A4D; }
.tp-table tr:last-child th, .tp-table tr:last-child td { border-bottom: 0; }
.tp-table .tp-you { background: #F4F5F9; }
.tp-yes { color: #2C3A9E; font-weight: 700; }
.tp-no { color: #9A3412; font-weight: 700; }
.tp-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tp-steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 60px; background: #fff; border: 1px solid var(--brand-border); border-radius: 14px; font-size: 15px; line-height: 1.6; color: #454956; }
.tp-steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 999px; background: #121A4D; color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.tp-steps strong { color: #121A4D; }
.tp-note a { color: #121A4D; font-weight: 600; }

/* Wix and Squarespace cards on /websites/ */
.tp-cards { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .tp-cards { grid-template-columns: 1fr 1fr; } }
.tp-card { display: grid; gap: 6px; padding: 18px 20px; background: #fff; border: 1px solid var(--brand-border); border-radius: 14px; font-size: 14px; line-height: 1.5; color: #6F727F; transition: border-color .15s; }
.tp-card:hover { border-color: #5285C9; }
.tp-card strong { font-size: 16px; color: #121A4D; }
.tp-table a, .tp-note a { text-decoration: underline; }

/* Comparison table stacks on phones, so the DEVA column is never off-screen */
@media (max-width: 639px) {
  .tp-compare { min-width: 0; display: block; }
  .tp-compare thead { display: none; }
  .tp-compare tbody, .tp-compare tr, .tp-compare th, .tp-compare td { display: block; }
  .tp-compare tr { padding: 14px; border-bottom: 1px solid #E3E7F0; }
  .tp-compare tr:last-child { border-bottom: 0; }
  .tp-compare th, .tp-compare td { padding: 0; border: 0; }
  .tp-compare th { margin-bottom: 8px; font-size: 15px; }
  .tp-compare td { padding: 8px 10px; border-radius: 8px; }
  .tp-compare td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; color: #7F8290; }
}
