:root {
  --tp-ink: #15171d;
  --tp-muted: #5e6470;
  --tp-paper: #f4f5f2;
  --tp-line: #dfe2e6;
  --tp-red: #e5252d;
  --tp-blue: #2583d8;
  --tp-green: #26a269;
}

.tp-guide {
  color: var(--tp-ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.78;
  margin: 0 auto;
  max-width: 1120px;
}

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

.tp-guide a {
  color: #1569ad;
  font-weight: 750;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.tp-guide a:hover { color: var(--tp-red); }

.tp-guide section {
  margin: clamp(42px, 7vw, 80px) 0;
  scroll-margin-top: 110px;
}

.tp-guide h2,
.tp-guide h3 {
  color: var(--tp-ink);
  font-family: "Space Grotesk", Manrope, sans-serif;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.tp-guide h2 {
  font-size: clamp(28px, 4.2vw, 46px);
  margin: 0 0 22px;
  max-width: 860px;
}

.tp-guide h3 {
  font-size: clamp(20px, 2.4vw, 27px);
  margin: 12px 0 10px;
}

.tp-guide p { margin: 0 0 18px; }
.tp-guide ul, .tp-guide ol { margin: 0 0 20px; padding-left: 1.25em; }
.tp-guide li { margin: 7px 0; }

.tp-guide__hero {
  background:
    radial-gradient(circle at 92% 10%, rgba(37, 131, 216, .28), transparent 26%),
    radial-gradient(circle at 7% 100%, rgba(229, 37, 45, .22), transparent 29%),
    var(--tp-ink);
  border-radius: 28px;
  color: #fff;
  overflow: hidden;
  padding: clamp(30px, 6vw, 66px);
  position: relative;
}

.tp-guide__hero::after {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  content: "";
  height: 220px;
  position: absolute;
  right: -72px;
  top: -85px;
  width: 220px;
}

.tp-guide__eyebrow {
  color: var(--tp-red);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.tp-guide__hero .tp-guide__eyebrow { color: #ff686e; }

.tp-guide__lead {
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(24px, 3.7vw, 44px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.18;
  margin: 0;
  max-width: 960px;
  position: relative;
  z-index: 1;
}

.tp-guide__facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(26px, 5vw, 48px);
  position: relative;
  z-index: 1;
}

.tp-guide__facts span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px;
}

.tp-guide__facts strong { color: #fff; font-size: 1.03em; }

.tp-guide__nav {
  align-items: center;
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(21,23,29,.07);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 52px;
  padding: 14px;
}

.tp-guide__nav strong { margin: 0 8px; }
.tp-guide__nav a {
  background: var(--tp-paper);
  border-radius: 999px;
  color: var(--tp-ink);
  font-size: 14px;
  padding: 7px 12px;
  text-decoration: none;
}
.tp-guide__nav a:hover { background: var(--tp-red); color: #fff; }

.tp-guide__grid {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}
.tp-guide__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-guide__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tp-guide__card {
  background: var(--tp-paper);
  border: 1px solid #e6e7e4;
  border-radius: 20px;
  padding: clamp(22px, 3.5vw, 34px);
}
.tp-guide__card--accent {
  background: #eef6fd;
  border-color: #c9e2f6;
}
.tp-guide__card p:last-child,
.tp-guide__card ul:last-child { margin-bottom: 0; }

.tp-guide__badge {
  background: #fee9ea;
  border-radius: 999px;
  color: #b91820;
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 5px 9px;
  text-transform: uppercase;
}
.tp-guide__badge--blue { background: #e7f2fc; color: #1569ad; }
.tp-guide__badge--green { background: #e4f6ed; color: #147549; }

.tp-guide__steps { display: grid; gap: 14px; margin: 28px 0; }
.tp-guide__steps > div {
  align-items: flex-start;
  border-bottom: 1px solid var(--tp-line);
  display: grid;
  gap: 16px;
  grid-template-columns: 48px 1fr;
  padding: 0 0 16px;
}
.tp-guide__steps > div > span { grid-column: 1; grid-row: 1; }
.tp-guide__steps > div > p:empty { display: none !important; }
.tp-guide__steps > div > p:not(:empty) { grid-column: 2; grid-row: 1; }
.tp-guide__steps span {
  color: var(--tp-red);
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 800;
}
.tp-guide__steps p { margin: 0; }

.tp-guide__note,
.tp-guide__warning {
  border-left: 5px solid var(--tp-blue);
  border-radius: 0 16px 16px 0;
  margin: 26px 0;
  padding: 20px 22px;
}
.tp-guide__note { background: #eef6fd; }
.tp-guide__warning { background: #fff0f1; border-left-color: var(--tp-red); }

.tp-guide__table-wrap {
  border: 1px solid var(--tp-line);
  border-radius: 18px;
  margin: 26px 0;
  overflow-x: auto;
}
.tp-guide__table {
  border: 0;
  border-collapse: collapse;
  font-size: .91em;
  margin: 0;
  min-width: 680px;
  width: 100%;
}
.tp-guide__table th,
.tp-guide__table td { border: 0; border-bottom: 1px solid var(--tp-line); padding: 16px 18px; text-align: left; vertical-align: top; }
.tp-guide__table thead th { background: var(--tp-ink); color: #fff; font-family: "Space Grotesk", sans-serif; }
.tp-guide__table tbody th { background: var(--tp-paper); min-width: 155px; }
.tp-guide__table tbody tr:last-child th,
.tp-guide__table tbody tr:last-child td { border-bottom: 0; }

.tp-guide__micro { color: var(--tp-muted); font-size: .88em; }

.tp-guide__checklist {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 26px 0;
}
.tp-guide__checklist p {
  background: var(--tp-paper);
  border-radius: 14px;
  margin: 0;
  padding: 15px 16px 15px 46px;
  position: relative;
}
.tp-guide__checklist p::before {
  align-items: center;
  background: var(--tp-green);
  border-radius: 50%;
  color: #fff;
  content: "✓";
  display: flex;
  font-size: 12px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  left: 15px;
  position: absolute;
  top: 17px;
  width: 22px;
}
.tp-guide__checklist--warning p::before { background: var(--tp-red); content: "!"; }

.tp-guide__numbered { counter-reset: tp-number; list-style: none; padding: 0 !important; }
.tp-guide__numbered li {
  counter-increment: tp-number;
  min-height: 48px;
  padding: 8px 0 18px 64px;
  position: relative;
}
.tp-guide__numbered li::before {
  align-items: center;
  background: var(--tp-ink);
  border-radius: 14px;
  color: #fff;
  content: counter(tp-number, decimal-leading-zero);
  display: flex;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 44px;
}

.tp-guide__formula {
  align-items: center;
  background: var(--tp-ink);
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  margin: 28px 0;
  padding: 24px 28px;
}
.tp-guide__formula span { color: #aeb4c0; }
.tp-guide__formula strong { font-family: "Space Grotesk", sans-serif; font-size: clamp(18px, 2.5vw, 26px); }

.tp-guide__faq {
  background: var(--tp-paper);
  border-radius: 24px;
  padding: clamp(26px, 5vw, 50px);
}
.tp-guide__faq details { border-top: 1px solid #d8dbde; padding: 17px 0; }
.tp-guide__faq details:last-child { border-bottom: 1px solid #d8dbde; }
.tp-guide__faq summary { cursor: pointer; font-weight: 850; list-style: none; padding-right: 34px; position: relative; }
.tp-guide__faq summary::-webkit-details-marker { display: none; }
.tp-guide__faq summary::after { color: var(--tp-red); content: "+"; font-size: 24px; position: absolute; right: 3px; top: -5px; }
.tp-guide__faq details[open] summary::after { content: "−"; }
.tp-guide__faq details p { color: var(--tp-muted); margin: 12px 36px 0 0; }

.tp-guide__cta {
  align-items: center;
  background: linear-gradient(115deg, #1676c4 0%, var(--tp-blue) 50%, #31a773 100%);
  border-radius: 26px;
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: clamp(48px, 8vw, 86px) 0 24px;
  padding: clamp(28px, 5vw, 54px);
}
.tp-guide__cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 10px; }
.tp-guide__cta p { margin: 0; max-width: 760px; }
.tp-guide__cta .tp-guide__eyebrow { color: #d8ffeb; }
.tp-guide__cta > p { flex: 0 0 auto; }
.tp-guide__button {
  background: #c9ff45;
  border-radius: 999px;
  color: #111316 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  text-decoration: none !important;
  white-space: nowrap;
}
.tp-guide__button:hover { background: #b7ed30; color: #111316 !important; }
.tp-guide__button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 820px) {
  .tp-guide__facts,
  .tp-guide__grid--2,
  .tp-guide__grid--3,
  .tp-guide__checklist { grid-template-columns: 1fr; }
  .tp-guide__cta { align-items: flex-start; flex-direction: column; }
  .tp-guide__cta > p { width: 100%; }
  .tp-guide__button { text-align: center; width: 100%; }
}

@media (max-width: 520px) {
  .tp-guide__hero { border-radius: 20px; padding: 26px 21px; }
  .tp-guide__lead { font-size: 24px; }
  .tp-guide__facts { grid-template-columns: 1fr; }
  .tp-guide__nav { align-items: stretch; flex-direction: column; }
  .tp-guide__nav a { text-align: center; }
  .tp-guide__steps > div { grid-template-columns: 38px 1fr; }
  .tp-guide__cta { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-guide * { scroll-behavior: auto !important; }
}
