.tp-page {
  --tp-night: #1a201e;
  --tp-cream: #f8f3e9;
  --tp-rule: #daceba;
  --tp-bronze: #815c37;
  --tp-gold: #dfbd8a;
  background: var(--tp-cream);
}
html:has(.tp-page) { scroll-padding-block-start: 20px; }
.tp-page .shell { width: min(100% - 2 * var(--gutter), 1200px); }
.tp-page h2 {
  margin: 0;
  font: 400 clamp(2.2rem, 4.25vw, 3.85rem)/1.04 var(--serif);
  letter-spacing: -.052em;
  text-wrap: balance;
}
.tp-page h3 {
  margin: 0;
  font: 400 clamp(1.3rem, 2vw, 1.78rem)/1.12 var(--serif);
  letter-spacing: -.035em;
}
.tp-page :is(section, article) p { margin: 0; }
.tp-header { color: #f3ece0; background: var(--tp-night); border-bottom: 1px solid #e7d3b129; }
.tp-header-row, .tp-footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .8rem 1.7rem;
  min-height: 72px;
}
.tp-header-row .mast-phone, .tp-footer-row .mast-phone { justify-self: end; white-space: nowrap; }
.tp-header-row nav, .tp-footer-row nav, .tp-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.55rem; }
.tp-header-row nav a, .tp-header-row .mast-phone, .tp-footer-row a {
  font-size: .93rem;
  text-decoration: none;
}
.tp-header-row nav a:hover, .tp-header-row .mast-phone:hover, .tp-footer-row a:hover { text-decoration: underline; }
.tp-header-row [aria-current] { color: var(--tp-gold); }
.tp-breadcrumb { padding-top: 1.3rem; gap: .55rem; color: #e3d3bc; font-size: .81rem; }
.tp-breadcrumb a { color: #bdbdb1; text-decoration-color: #bdbdb16e; text-underline-offset: .15em; }
.tp-breadcrumb span[aria-hidden] { color: #93816b; }

.tp-hero {
  overflow: clip;
  background: radial-gradient(ellipse at 80% 52%, #343a32, transparent 57%), var(--tp-night);
}
.tp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.1rem);
  padding-block: clamp(3rem, 6vw, 5.75rem) clamp(3rem, 6.8vw, 6.3rem);
}
.tp-offer { align-self: center; grid-column: auto; grid-row: auto; }
.tp-offer .offer-eyebrow { margin: 0 0 1.15rem; font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; }
.tp-offer h1 { font-size: clamp(2.7rem, 4.75vw, 4.6rem); }
.tp-offer .offer-text { margin-top: 1.3rem; }
.tp-offer .offer-actions { margin-top: 1.65rem; }
.tp-offer .action-secondary::before { content: none; }
.tp-offer .tp-hero-terms { margin-top: .85rem; color: #c4b8a3; font-size: .88rem; }
.tp-hero-terms span { padding-inline: .25em; color: var(--tp-gold); }

.tp-demo { isolation: isolate; position: relative; margin: 0; min-width: 0; }
.tp-demo::before {
  content: "";
  position: absolute;
  inset: 5px -15px 26px 13px;
  z-index: -1;
  border: 1px solid #c0ad7c4f;
  border-radius: 16px;
  transform: rotate(-3deg);
  pointer-events: none;
}
.tp-console {
  overflow: hidden;
  border: 1px solid #9a8869;
  border-radius: 12px;
  background: #232a26;
  box-shadow: 0 19px 52px #0b100c7a, inset 0 1px #e6d0a534;
}
.tp-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem .8rem;
  padding: .88rem 1.12rem;
  border-bottom: 1px solid #e1c49334;
}
.tp-console-head strong { color: #f5e9d5; font-size: 1.03rem; font-weight: 600; }
.tp-console-head span { color: #c7c8ba; font-size: .83rem; }
.tp-console fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: .65rem .65rem .7rem;
  border: 0;
  gap: .45rem;
  min-inline-size: 0;
}
.tp-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tp-choice + label {
  display: grid;
  place-items: center;
  min-height: 43px;
  padding: .35rem .1rem;
  border: 1px solid #c6b7993d;
  border-radius: 6px;
  color: #d8d1c3;
  text-align: center;
  font-size: .91rem;
  cursor: pointer;
}
.tp-choice:checked + label { background: #e4c8a0; color: #30271f; font-weight: 650; }
.tp-choice:focus-visible + label { outline: 2px solid #f1dcaf; outline-offset: 2px; }
.tp-views { grid-column: 1 / -1; min-width: 0; }
.tp-view {
  display: none;
  align-content: space-between;
  min-height: 207px;
  gap: .8rem;
  padding: clamp(.7rem, 1.65vw, 1.2rem);
  background: #f2ebda;
  color: #3c3931;
  border: 1px solid #d3c1a5;
  border-radius: 8px;
}
#tp-leads:checked ~ .tp-views .tp-view-leads,
#tp-tasks:checked ~ .tp-views .tp-view-tasks,
#tp-report:checked ~ .tp-views .tp-view-report { display: grid; }
.tp-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.tp-board > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: .46rem;
  border-radius: 6px;
  background: #e9e0ce;
}
.tp-board h3 {
  margin: 0 0 .47rem;
  font: 600 .78rem/1.2 var(--sans);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.tp-board p {
  display: grid;
  align-content: start;
  gap: .32rem;
  flex: 1;
  padding: .48rem;
  border: 1px solid #d9c8ad;
  border-radius: 5px;
  background: #fcf8ef;
  font: 400 .83rem/1.3 var(--sans);
  overflow-wrap: anywhere;
}
.tp-board .tp-focal { border-color: #a47544; border-left-width: 3px; }
.tp-view small { color: #65594a; font-size: .72rem; line-height: 1.3; }
.tp-view .tp-view-note { padding-top: .6rem; border-top: 1px solid #cbbc9f; color: #574f41; font-size: .83rem; }
.tp-task-sheet > p { display: grid; gap: .2rem; }
.tp-task-sheet ul { list-style: none; padding: 0; margin: .38rem 0 0; }
.tp-task-sheet li { display: flex; gap: .7rem; align-items: baseline; justify-content: space-between; padding: .35rem 0; border-top: 1px solid var(--tp-rule); font-size: .88rem; }
.tp-task-sheet li small { color: #38644e; font-weight: 600; white-space: nowrap; }
.tp-chart { display: grid; align-content: center; gap: .65rem; margin: 0; font-size: .89rem; }
.tp-chart div { display: grid; grid-template-columns: minmax(6rem, .75fr) 2fr; align-items: center; gap: .4rem; }
.tp-chart dd { display: grid; grid-template-columns: minmax(0, 1fr) 1.2rem; gap: .55rem; align-items: center; margin: 0; }
.tp-chart i { width: var(--share); height: .55rem; border-radius: 8px; background: #9a703e; }
.tp-chart div:last-child i { background: #557763; }
.tp-demo figcaption { margin: .9rem 0 0; color: #c4b8a5; font-size: .83rem; }
@media (prefers-reduced-motion: no-preference) {
  .tp-view { animation: tp-appear .24s ease-out both; }
  @keyframes tp-appear { from { opacity: .55; transform: translateY(3px); } }
}

.tp-section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.tp-section-intro, .tp-fit-grid, .tp-questions-grid, .tp-booking-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(1.25rem, 5vw, 4.5rem);
}
.tp-section-intro > p { align-self: end; max-width: 54ch; }
.tp-section p, .tp-booking p:not(.lo-feedback) { color: var(--kls-graphite-muted); font-size: clamp(.98rem, 1.4vw, 1.08rem); }
.tp-scope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(1.3rem, 3.2vw, 2.65rem);
}
.tp-scope-grid article { padding: clamp(1rem, 2vw, 1.55rem); border: 1px solid var(--tp-rule); border-top-color: #9a734a; border-radius: 7px; background: #fcf8f0; }
.tp-scope-grid svg { width: 2.25rem; height: 2.25rem; color: var(--tp-bronze); }
.tp-scope-grid h3 { margin: .8rem 0 .55rem; }
.tp-fit { background: #eee6d8; }
.tp-fit-grid h2 + p { margin-top: 1.1rem; max-width: 42ch; }
.tp-options { display: grid; gap: .8rem; }
.tp-options article { padding: .95rem 1.25rem 1.1rem; border: 1px solid #cdbb9e; border-left: 3px solid #a57f55; border-radius: 6px; background: #f8f2e6; }
.tp-options h3 { margin-bottom: .45rem; }
.tp-options a { display: inline-block; margin-top: .7rem; color: #754e29; font-weight: 600; text-underline-offset: .2em; }

.tp-steps {
  counter-reset: tp-step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 2.3rem 0 0;
  padding: 0;
  list-style: none;
}
.tp-steps li { position: relative; padding: 1.35rem 0 0; border-top: 1px solid #bda481; }
.tp-steps li::before {
  counter-increment: tp-step;
  content: counter(tp-step);
  position: absolute;
  top: -1rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  border: 1px solid #b1926a;
  border-radius: 50%;
  color: #815c37;
  background: var(--tp-cream);
  font-weight: 650;
}
.tp-steps h3 { margin-bottom: .55rem; }
.tp-questions { border-top: 1px solid var(--tp-rule); background: #f5eee2; }
.tp-faq details { border-top: 1px solid #cbb99d; }
.tp-faq details:last-child { border-bottom: 1px solid #cbb99d; }
.tp-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  padding-block: .92rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: "+" / ""; color: #8c6136; line-height: 1.2; font-size: 1.15rem; }
.tp-faq details[open] summary::after { content: "−" / ""; }
.tp-faq details p { padding-bottom: .96rem; }

.tp-booking {
  padding-block: clamp(2.8rem, 6vw, 5.5rem);
  scroll-margin: 0;
  color: #f5ebd9;
  background: radial-gradient(ellipse at 34% 70%, #3a382e, transparent 56%), var(--tp-night);
}
.tp-booking h2 { margin-bottom: 1rem; }
.tp-booking .tp-booking-grid > div > p { max-width: 46ch; color: #e1d6c3; }
.tp-booking-art { display: block; width: min(52%, 212px); height: auto; margin: 1.1rem auto 0 0; }
.tp-form-card { padding: clamp(1rem, 3vw, 1.9rem); border: 1px solid #c8b79d; border-radius: 9px; background: #fbf5e9; color: var(--kls-graphite); }
.tp-form-card h3 { margin: 0 0 .67rem; }
.tp-form-card .lo-form { padding: 0; background: none; box-shadow: none; }
.tp-form-card .lo-form-note { color: #665c4f; }
.tp-footer { color: #3c3b34; background: #eee5d6; }
.tp-footer .mast-phone::before { background: var(--tp-bronze); }

@media (max-width: 900px) {
  .tp-hero-grid { gap: 1.7rem; }
  .tp-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}
@media (max-width: 740px) {
  .tp-header-row, .tp-footer-row { grid-template-columns: minmax(0, 1fr) auto; gap: .05rem .55rem; padding-block: .42rem; }
  .tp-header-row nav, .tp-footer-row nav { grid-row: 2; grid-column: 1 / -1; gap: .35rem 1.15rem; }
  .tp-header-row nav a, .tp-footer-row nav a { display: grid; align-items: center; min-height: 36px; }
  .tp-header-row .mast-phone, .tp-footer-row .mast-phone { grid-column: 2; grid-row: 1; font-size: .84rem; }
  .tp-hero-grid, .tp-section-intro, .tp-fit-grid, .tp-questions-grid, .tp-booking-grid { grid-template-columns: minmax(0, 1fr); }
  .tp-hero-grid { padding-block: 1.9rem 2.7rem; }
  .tp-hero .offer-actions { display: flex; }
  .tp-demo::before { inset-inline: 10px -6px; }
  .tp-booking-art { display: none; }
}
@media (max-width: 400px) {
  .tp-offer h1 { font-size: clamp(2.25rem, 10vw, 2.7rem); }
  .tp-offer .offer-actions a { width: 100%; }
  .tp-board { gap: .26rem; }
  .tp-board > div, .tp-board p { padding: .34rem; }
  .tp-board p { font-size: .76rem; }
  .tp-board small { font-size: .69rem; }
  .tp-scope-grid { grid-template-columns: 1fr; }
}
