/* Tablepulse marketing — Bariol via tablepulse_brand.css */

*, *::before, *::after { box-sizing: border-box; }

html.tablepulse,
body.tablepulse,
body.tablepulse input,
body.tablepulse textarea,
body.tablepulse select,
body.tablepulse button {
  font-family: var(--tp-font);
}

html.tablepulse {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.tablepulse {
  margin: 0;
  font-weight: 400;
  color: var(--tp-ink);
  background: var(--tp-bg);
  line-height: 1.55;
}

body.tablepulse h1,
body.tablepulse h2,
body.tablepulse h3,
body.tablepulse h4,
body.tablepulse strong {
  font-family: var(--tp-font);
}

.tp-skip {
  position: absolute; left: -999px; top: 0;
  background: var(--tp-magenta-text); color: var(--tp-white);
  padding: 0.5rem 1rem; z-index: 100;
}
.tp-skip:focus { left: 0.5rem; top: 0.5rem; }

.tp-wrap { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; }

/* Header */
.tp-header {
  padding: 1rem 0;
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tp-line);
}
.tp-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.tp-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.tp-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.tp-logo { display: block; height: 1.65rem; width: auto; }
.tp-nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: nowrap; }

.tp-header__toggle {
  display: none;
  margin-left: auto;
  width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; border-radius: var(--tp-radius);
  background: transparent; color: var(--tp-ink);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.tp-header__toggle:hover { color: var(--tp-magenta-text); }
.tp-header__toggle:focus-visible {
  outline: 2px solid var(--tp-magenta-text);
  outline-offset: 2px;
}
.tp-header__bars {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 1.35rem;
}
.tp-header__bars span {
  display: block; width: 100%; height: 2px;
  background: currentColor; border-radius: 1px;
  transition: transform 0.2s ease;
}
.tp-header.is-open .tp-header__bars span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.tp-header.is-open .tp-header__bars span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 860px) {
  .tp-header__inner { flex-wrap: wrap; gap: 0.25rem 1rem; }
  .tp-header__toggle { display: inline-flex; }
  .tp-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.35rem 0 0.6rem;
  }
  .tp-header.is-open .tp-nav { display: flex; }
  .tp-nav a:not(.tp-btn) {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--tp-line);
  }
  .tp-nav .tp-btn { margin-top: 0.9rem; width: 100%; }
}
.tp-nav a:not(.tp-btn) {
  color: var(--tp-ink-soft); text-decoration: none; font-weight: 400; font-size: 0.95rem;
}
.tp-nav a:not(.tp-btn):hover { color: var(--tp-magenta-text); }
.tp-nav a:not(.tp-btn):focus-visible {
  color: var(--tp-magenta-text);
  outline: 2px solid var(--tp-magenta-text);
  outline-offset: 3px;
}
.tp-nav .tp-btn--primary { color: var(--tp-white); }

/* Buttons */
.tp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.72rem 1.35rem; border-radius: var(--tp-radius);
  font-family: var(--tp-font); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer;
}
.tp-btn--primary {
  background: var(--tp-gradient-btn); color: var(--tp-white);
  box-shadow: 0 8px 24px -10px rgba(196, 29, 104, 0.55);
}
.tp-btn--primary:hover {
  box-shadow: 0 10px 28px -8px rgba(196, 29, 104, 0.7);
}
.tp-btn--primary:focus-visible {
  outline: 2px solid var(--tp-magenta-text);
  outline-offset: 3px;
  box-shadow: 0 10px 28px -8px rgba(196, 29, 104, 0.7);
}
.tp-btn--ghost {
  background: transparent; color: var(--tp-magenta-text);
  border: 1px solid color-mix(in srgb, var(--tp-magenta-text) 55%, var(--tp-line));
  letter-spacing: 0.04em; text-transform: none; font-weight: 700;
}
.tp-btn--ghost:hover {
  color: var(--tp-magenta-text-hover);
  border-color: var(--tp-magenta-text);
}
.tp-btn--ghost:focus-visible {
  color: var(--tp-magenta-text-hover);
  border-color: var(--tp-magenta-text);
  outline: 2px solid var(--tp-magenta-text);
  outline-offset: 3px;
}

/* Hero */
.tp-hero {
  padding: 3.5rem 0 4rem;
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .tp-hero { grid-template-columns: 1.05fr 0.95fr; min-height: 78vh; }
}
.tp-kicker {
  display: block; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--tp-magenta-text); font-weight: 700;
  margin-bottom: 0.65rem;
}
.tp-hero h1 {
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  line-height: 1.06; letter-spacing: -0.02em;
  margin: 0 0 1.25rem; font-weight: 700; color: var(--tp-ink);
}
.tp-lede {
  font-size: 1.12rem; color: var(--tp-ink-soft);
  max-width: 34rem; margin: 0 0 1.75rem; font-weight: 400;
}
.tp-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.tp-hero__visual {
  position: relative; min-height: 20rem; border-radius: var(--tp-radius-lg);
  background: var(--tp-gradient);
  color: var(--tp-white); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  box-shadow: var(--tp-shadow);
}
.tp-hero__pulse {
  position: relative;
  width: 10rem; height: 10rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.85rem; flex-shrink: 0;
}
.tp-hero__pulse::before,
.tp-hero__pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  pointer-events: none;
}
.tp-hero__pulse::after { border-color: rgba(255, 255, 255, 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .tp-hero__pulse::before { animation: tp-pulse 2.8s ease-out infinite; }
  .tp-hero__pulse::after { animation: tp-pulse 2.8s ease-out 0.9s infinite; }
}
@keyframes tp-pulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}
.tp-hero__mark { width: 5.5rem; height: 5.5rem; position: relative; z-index: 1; }
.tp-hero__visual h2 {
  position: relative; z-index: 1;
  font-size: 1.65rem; margin: 0 0 0.45rem; font-weight: 700;
  text-shadow: 0 1px 8px rgba(80, 12, 40, 0.28);
}
.tp-hero__visual p {
  position: relative; z-index: 1;
  margin: 0; color: var(--tp-on-gradient-muted); font-weight: 400; max-width: 16rem;
  text-shadow: 0 1px 12px rgba(80, 12, 40, 0.55);
}

/* Sections */
.tp-section { padding: 4.5rem 0; }
.tp-section--soft { background: var(--tp-bg-soft); }
.tp-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem; letter-spacing: -0.02em; font-weight: 700;
}
.tp-section p { color: var(--tp-ink-soft); max-width: 38rem; margin: 0 0 1rem; font-weight: 400; }

.tp-legal { max-width: 42rem; }
.tp-legal h1 {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.tp-legal__meta { color: var(--tp-ink-muted); font-size: 0.92rem; margin-bottom: 2rem; }
.tp-legal h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}
.tp-legal h3 {
  font-size: 1.05rem;
  margin: 1.35rem 0 0.5rem;
  font-weight: 700;
  color: var(--tp-ink);
}
.tp-legal p,
.tp-legal li { color: var(--tp-ink-soft); max-width: none; }
.tp-legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--tp-ink-soft);
}
.tp-legal li { margin-bottom: 0.45rem; }
.tp-legal a { color: var(--tp-magenta-text); }
.tp-steps { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 800px) { .tp-steps { grid-template-columns: repeat(4, 1fr); } }
.tp-step {
  padding: 1.35rem 1.15rem; border-radius: var(--tp-radius);
  background: var(--tp-white); border: 1px solid var(--tp-line);
  border-top: 3px solid transparent;
  border-image: var(--tp-gradient-h) 1;
}
.tp-step strong { display: block; font-size: 1.05rem; margin-bottom: 0.35rem; font-weight: 700; }
.tp-step span { color: var(--tp-ink-muted); font-size: 0.92rem; font-weight: 400; }

/* Footer */
.tp-footer {
  border-top: 1px solid var(--tp-line); padding: 2rem 0 2.5rem; margin-top: 1rem;
  color: var(--tp-ink-muted); font-size: 0.9rem; font-weight: 400;
}
.tp-footer__inner {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  align-items: center;
}
.tp-footer a { color: var(--tp-ink-soft); text-decoration: none; margin-right: 1rem; }
.tp-footer a:hover { color: var(--tp-magenta-text); }
.tp-footer a:focus-visible {
  color: var(--tp-magenta-text);
  outline: 2px solid var(--tp-magenta-text);
  outline-offset: 3px;
}
.tp-footer__legal {
  flex-basis: 100%;
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--tp-ink-muted);
}
.tp-footer__legal a { margin-right: 0; }
.tp-footer__logo { height: 1.25rem; width: auto; }

/* Flashes & forms */
.tp-flash {
  width: min(1120px, calc(100% - 2.5rem)); margin: 1rem auto 0;
  padding: 0.85rem 1rem; border-radius: var(--tp-radius); font-weight: 400;
}
.tp-flash--ok { background: color-mix(in srgb, var(--tp-success) 18%, white); color: var(--tp-success-deep); }
.tp-flash--err { background: #fde8e4; color: #8f3529; }

.tp-form { max-width: 32rem; display: grid; gap: 1rem; }
.tp-form label { display: block; font-weight: 700; margin-bottom: 0.35rem; font-size: 0.95rem; }
.tp-form input, .tp-form textarea {
  width: 100%; padding: 0.75rem 0.85rem;
  border: 1px solid var(--tp-line); border-radius: var(--tp-radius);
  font: inherit; background: var(--tp-white); color: var(--tp-ink);
}
.tp-form input::placeholder, .tp-form textarea::placeholder {
  color: var(--tp-placeholder); opacity: 1;
}
.tp-form input:focus-visible, .tp-form textarea:focus-visible {
  outline: none; border-color: var(--tp-magenta-text);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tp-magenta-text) 15%, white);
}
.tp-errors {
  background: #fde8e4; color: #8f3529;
  padding: 0.85rem 1rem; border-radius: var(--tp-radius);
}
