body.tpf-expo-body {
  margin: 0;
  background: linear-gradient(180deg, #eef3f9 0%, #f8fafc 100%);
  color: var(--tpf-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--tpf-blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.tpf-site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.tpf-topbar { background: linear-gradient(180deg, #cf1d25 0%, var(--tpf-red) 55%, var(--tpf-red-deep) 100%); color: #fff; }
.tpf-topbar__inner,
.tpf-navband__inner,
.tpf-site-main,
.tpf-site-footer__inner {
  width: var(--tpf-width);
  margin: 0 auto;
}
.tpf-topbar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tpf-topbar__spacer { flex: 1; }
.tpf-topbar-nav ul,
.tpf-primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}
.tpf-topbar-menu a {
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}
.tpf-navband {
  background: #fff;
  border-bottom: 1px solid rgba(17, 24, 39, .08);
  box-shadow: 0 4px 18px rgba(17, 24, 39, .04);
}
.tpf-navband__inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tpf-brandmark__link { display: inline-flex; align-items: center; text-decoration: none; }
.tpf-brandmark__logo img { max-height: 94px; width: auto; }
.tpf-brandmark__badge {
  width: 92px;
  min-height: 92px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #1a3e96 0%, #112764 58%, #d61b24 58.5%, #92131a 100%);
  color: #fff;
  box-shadow: inset 0 0 0 4px #f6f8fc, 0 16px 34px rgba(16, 24, 79, .18);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.05;
}
.tpf-brandmark__badge span { font-size: .86rem; }
.tpf-brandmark__badge small { font-size: .62rem; opacity: .95; }
.tpf-primary-menu a {
  color: #2b3441;
  font-size: 1rem;
  font-weight: 500;
}
.tpf-site-main {
  padding: 0 0 56px;
  width: min(1360px, 100%);
}
.tpf-hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(260px, .95fr);
  background:
    linear-gradient(0deg, rgba(255,255,255,.86), rgba(255,255,255,.86)),
    radial-gradient(circle at 12% 38%, rgba(47, 88, 193, .12), transparent 22%),
    radial-gradient(circle at 36% 12%, rgba(213, 27, 36, .10), transparent 20%),
    linear-gradient(120deg, #f4f8fd 0%, #ebf2fa 100%);
  position: relative;
  overflow: hidden;
}
.tpf-hero__copy {
  padding: 96px 40px 72px min(10vw, 170px);
  position: relative;
  z-index: 2;
}
.tpf-eyebrow {
  margin: 0 0 18px;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tpf-blue);
  font-weight: 700;
}
.tpf-hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  line-height: .98;
  color: var(--tpf-blue);
  font-weight: 400;
  letter-spacing: -.03em;
}
.tpf-hero__meta {
  margin: 28px 0 8px;
  color: #232a34;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 800;
  text-transform: uppercase;
}
.tpf-hero__text {
  max-width: 560px;
  font-size: 1.14rem;
  line-height: 1.7;
  color: #313d4e;
}
.tpf-hero__actions,
.tpf-site-footer__inner {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.tpf-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #bf131c 0%, #9e0e16 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px rgba(242, 170, 24, .95), 0 16px 36px rgba(159, 14, 22, .22);
}
.tpf-pill-btn:hover { text-decoration: none; filter: brightness(1.03); }
.tpf-link-btn {
  font-weight: 700;
  color: var(--tpf-blue);
}
.tpf-hero__art {
  position: relative;
  min-height: 100%;
  background:
    radial-gradient(circle at 62% 34%, rgba(0, 203, 255, .22), transparent 16%),
    radial-gradient(circle at 72% 54%, rgba(255, 172, 28, .20), transparent 18%),
    linear-gradient(135deg, #0a6d9d 0%, #194597 42%, #0e2036 100%);
}
.tpf-hero__shape {
  position: absolute;
  top: -12%;
  bottom: -12%;
  transform: skewX(-38deg);
  background: rgba(255,255,255,.92);
}
.tpf-hero__shape--one { left: -6%; width: 18%; }
.tpf-hero__shape--two { left: 62%; width: 7%; background: rgba(255,255,255,.96); }
.tpf-hero__shape--three { left: 84%; width: 9%; background: rgba(255,255,255,.96); }
.tpf-feature-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 26px;
}
.tpf-feature-card,
.tpf-content-card,
.tpf-card {
  background: var(--tpf-card);
  border: 1px solid rgba(192, 201, 214, .95);
  box-shadow: var(--tpf-shadow);
  border-radius: var(--tpf-radius);
}
.tpf-feature-card {
  padding: 18px;
}
.tpf-feature-card__label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fef0f1;
  color: var(--tpf-red);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tpf-feature-card h2 {
  margin: 0;
  color: var(--tpf-blue);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.2;
  font-weight: 500;
}
.tpf-content-card,
.tpf-card {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: 28px;
}
.tpf-entry-title {
  margin: 0 0 18px;
  color: var(--tpf-blue);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  font-weight: 500;
}
.tpf-entry-content { color: #334155; line-height: 1.7; }

/* plugin compatibility */
.tpf-grid { display: grid; gap: 18px; }
.tpf-grid--stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.tpf-grid--two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tpf-stat {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--tpf-border);
}
.tpf-stat strong { display: block; font-size: 2rem; color: var(--tpf-blue); }
.tpf-muted { color: var(--tpf-muted); }
.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td {
  padding: 13px 12px;
  border-bottom: 1px solid #e6ebf2;
  text-align: left;
  color: #334155;
}
.table-wrap th { color: var(--tpf-blue); font-size: .95rem; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 800; margin-bottom: 6px; color: var(--tpf-blue); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select {
  width: 100%; box-sizing: border-box; border-radius: 14px; border: 1px solid #d8e0eb;
  background: #fff; color: #1f2937; padding: 13px 14px;
}
textarea { min-height: 120px; }
.notice-success, .notice-error {
  margin-bottom: 18px; padding: 13px 14px; border-radius: 14px; font-weight: 700;
}
.notice-success { background: #ecfdf4; border: 1px solid #9fe1ba; color: #166534; }
.notice-error { background: #fef2f2; border: 1px solid #efb2b2; color: #991b1b; }
.tpf-badge {
  display: inline-flex; border-radius: 999px; padding: 6px 10px; background: #eff4ff; border: 1px solid #d8e3ff; font-size: .85rem; color: var(--tpf-blue);
}
.tpf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; background: linear-gradient(180deg, #bf131c 0%, #9e0e16 100%);
  color: white; border: 0; border-radius: 999px; padding: 0 18px; font-weight: 800;
  text-decoration: none; box-shadow: inset 0 0 0 2px rgba(242, 170, 24, .9);
}
.tpf-btn:hover { text-decoration: none; filter: brightness(1.04); }
.tpf-btn--ghost {
  background: #fff; color: var(--tpf-blue); border: 1px solid #d5dce8; box-shadow: none;
}
.tpf-site-footer {
  margin-top: auto;
  background: #fff;
  border-top: 1px solid rgba(17,24,39,.08);
}
.tpf-site-footer__inner {
  min-height: 80px;
  justify-content: space-between;
  color: #4b5563;
}

@media (max-width: 980px) {
  .tpf-navband__inner,
  .tpf-site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
  .tpf-navband__inner { min-height: auto; }
  .tpf-primary-nav ul { flex-wrap: wrap; gap: 14px 18px; }
  .tpf-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .tpf-hero__copy {
    padding: 64px 24px 44px;
  }
  .tpf-hero__art {
    min-height: 280px;
  }
  .tpf-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .tpf-topbar__inner { justify-content: flex-end; }
  .tpf-topbar-nav ul { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .tpf-primary-nav ul { gap: 12px; }
  .tpf-brandmark__badge {
    width: 76px; min-height: 76px;
  }
  .tpf-brandmark__badge span { font-size: .72rem; }
  .tpf-hero h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .tpf-content-card, .tpf-card, .tpf-feature-grid { width: min(100%, calc(100% - 24px)); }
}
