/* Tiger Kids landing-page styles
 * Used on: /, /how-it-works/, /story/, /faq/
 * System pages (admin, privacy, generating) use site.css.
 * Class prefix .tk- preserved from the original v3 LP design.
 */

:root {
  --tk-yellow: #FFD60A;
  --tk-yellow-soft: #FFF3B0;
  --tk-yellow-deep: #E6A817;
  --tk-black: #1A1A1A;
  --tk-charcoal: #333333;
  --tk-grey: #888888;
  --tk-grey-light: #E8E8E8;
  --tk-offwhite: #FAFAF5;
  --tk-white: #FFFFFF;
  --tk-coral: #E85D4A;
  --tk-display: 'Epilogue', 'DM Sans', system-ui, sans-serif;
  --tk-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --tk-hand: 'Caveat', cursive;
  --tk-radius: 16px;
  --tk-radius-sm: 10px;
  --tk-max: 1120px;
  --tk-read: 640px;
  --tk-nav-height: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--tk-body);
  color: var(--tk-charcoal);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background: var(--tk-white);
}

.tk-page, .tk-page * { box-sizing: border-box; }

h1, h2, h3, h4 {
  font-family: var(--tk-display);
  color: var(--tk-black);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  font-weight: 700;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

.tk-section { padding: 72px 24px; }
@media (min-width: 768px) { .tk-section { padding: 112px 48px; } }

.tk-section--tight { padding: 56px 24px; }
@media (min-width: 768px) { .tk-section--tight { padding: 80px 48px; } }

.tk-inner { max-width: var(--tk-max); margin: 0 auto; }
.tk-inner--read { max-width: var(--tk-read); margin: 0 auto; }

/* ==========================================================
   STICKY NAV
   ========================================================== */
.tk-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--tk-grey-light);
}
.tk-nav__wrap {
  max-width: var(--tk-max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--tk-nav-height);
}
.tk-nav__brand {
  font-family: var(--tk-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--tk-black);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.tk-nav__links {
  display: none;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .tk-nav__links { display: flex; }
}
.tk-nav__link {
  font-family: var(--tk-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--tk-charcoal);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.12s, border-color 0.12s;
}
.tk-nav__link:hover { color: var(--tk-black); }
.tk-nav__link[aria-current="page"] {
  color: var(--tk-black);
  border-bottom-color: var(--tk-yellow);
}
.tk-nav__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--tk-body);
  font-weight: 600;
  font-size: 14px;
  background: var(--tk-yellow);
  color: var(--tk-black);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s, box-shadow 0.12s;
}
.tk-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
}

/* Mobile hamburger */
.tk-nav__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0 8px;
}
@media (min-width: 900px) { .tk-nav__burger { display: none; } }
.tk-nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tk-black);
  border-radius: 2px;
}

.tk-nav__mobile {
  display: none;
  border-top: 1px solid var(--tk-grey-light);
  background: var(--tk-white);
  padding: 16px 24px 24px;
}
.tk-nav__mobile.is-open { display: block; }
.tk-nav__mobile a {
  display: block;
  padding: 12px 0;
  font-family: var(--tk-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--tk-charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--tk-grey-light);
}
.tk-nav__mobile a[aria-current="page"] { color: var(--tk-black); font-weight: 700; }
.tk-nav__mobile a:last-child { border-bottom: 0; }
.tk-nav__mobile .tk-nav__cta { width: 100%; justify-content: center; margin-top: 16px; }

/* Backgrounds */
.tk-bg-yellow { background: var(--tk-yellow); color: var(--tk-black); }
.tk-bg-white  { background: var(--tk-white); }
.tk-bg-off    { background: var(--tk-offwhite); }
.tk-bg-black  { background: var(--tk-black); color: var(--tk-white); }
.tk-bg-yellow h1, .tk-bg-yellow h2, .tk-bg-yellow h3 { color: var(--tk-black); }
.tk-bg-black h1, .tk-bg-black h2, .tk-bg-black h3 { color: var(--tk-white); }

/* Buttons */
.tk-btn {
  display: inline-block;
  font-family: var(--tk-body);
  font-weight: 600;
  font-size: 17px;
  padding: 18px 32px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  line-height: 1;
}
.tk-btn--primary { background: var(--tk-black); color: var(--tk-white); }
.tk-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.tk-btn--yellow  { background: var(--tk-yellow); color: var(--tk-black); }
.tk-btn--yellow:hover  { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.tk-link {
  display: inline-block;
  color: var(--tk-black);
  font-weight: 600;
  border-bottom: 2px solid var(--tk-black);
  text-decoration: none;
  padding-bottom: 2px;
}

/* Decorative accents */
.tk-marker {
  display: inline-block;
  position: relative;
  padding-bottom: 0.08em;
}
.tk-marker::after {
  content: '';
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: -0.08em;
  height: 0.22em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'><path d='M 4 10 Q 40 2 80 8 T 160 8 T 240 8 T 296 8' stroke='%23E6A817' stroke-width='5' fill='none' stroke-linecap='round'/></svg>") no-repeat center/100% 100%;
  pointer-events: none;
}
.tk-marker--yellow::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'><path d='M 4 10 Q 40 2 80 8 T 160 8 T 240 8 T 296 8' stroke='%23FFD60A' stroke-width='5' fill='none' stroke-linecap='round'/></svg>");
}
.tk-circle {
  display: inline-block;
  position: relative;
  padding: 0 0.25em;
}
.tk-circle::before {
  content: '';
  position: absolute;
  inset: -0.15em -0.15em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' preserveAspectRatio='none'><path d='M 40 4 C 68 4 76 12 76 20 C 76 30 58 36 40 36 C 18 36 4 30 4 20 C 4 10 14 4 40 4 Z' stroke='%23E6A817' stroke-width='2.5' fill='none'/></svg>") no-repeat center/100% 100%;
  pointer-events: none;
}
.tk-hand { font-family: var(--tk-hand); font-weight: 700; }

/* Read-time badge */
.tk-readtime {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tk-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--tk-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.tk-readtime::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tk-yellow);
}

/* Page heading block */
.tk-pagehead {
  padding: 56px 24px 32px;
  background: var(--tk-bg-off, var(--tk-offwhite));
}
@media (min-width: 768px) {
  .tk-pagehead { padding: 88px 48px 48px; }
}
.tk-pagehead h1 {
  font-size: clamp(38px, 6.5vw, 72px);
  font-weight: 800;
  max-width: 18ch;
  margin-bottom: 0.3em;
}
.tk-pagehead p {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 56ch;
  color: var(--tk-charcoal);
}

/* HERO */
.tk-hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 56px;
}
@media (min-width: 768px) {
  .tk-hero { padding-top: 96px; padding-bottom: 96px; }
}
.tk-hero__hi {
  font-family: var(--tk-hand);
  font-size: 28px;
  font-weight: 700;
  color: var(--tk-black);
  transform: rotate(-4deg);
  display: inline-block;
  margin-bottom: 24px;
}
.tk-hero h1 {
  font-size: clamp(44px, 9vw, 104px);
  font-weight: 800;
  max-width: 15ch;
  margin-bottom: 0.3em;
}
.tk-hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 44ch;
  margin-bottom: 32px;
  color: var(--tk-black);
  opacity: 0.85;
}
.tk-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.tk-hero__small {
  font-size: 14px;
  max-width: 52ch;
  color: var(--tk-black);
  opacity: 0.78;
  line-height: 1.6;
}

/* PROBLEM */
.tk-problem h2 { font-size: clamp(32px, 5vw, 56px); max-width: 18ch; margin-bottom: 0.8em; }
.tk-problem p { font-size: 18px; }

/* WHAT CHANGES */
.tk-changes h2 { font-size: clamp(32px, 5vw, 56px); max-width: 16ch; margin-bottom: 0.8em; }
.tk-changes p { font-size: 18px; }
.tk-changes__highlight {
  background: var(--tk-yellow);
  padding: 0.05em 0.15em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* PARENT QUESTIONS */
.tk-questions h2 { font-size: clamp(28px, 4.2vw, 44px); max-width: 24ch; margin-bottom: 0.4em; }
.tk-questions__intro { font-size: 18px; margin-bottom: 48px; max-width: 56ch; }
.tk-q-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .tk-q-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.tk-q-card { background: var(--tk-offwhite); border-radius: var(--tk-radius); padding: 32px; position: relative; }
.tk-q-card:nth-child(odd) { background: #FFF8D9; }
.tk-q-card h3 {
  font-family: var(--tk-display);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.25;
}
.tk-q-card p { font-size: 16px; margin: 0; }
.tk-questions__close { margin-top: 40px; font-weight: 600; font-size: 18px; }

/* CTA STRIP */
.tk-strip { padding: 40px 24px; text-align: center; }
@media (min-width: 768px) { .tk-strip { padding: 56px 48px; } }

/* HOW IT WORKS (3 steps) */
.tk-how h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 0.6em; }
.tk-steps { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .tk-steps { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }
.tk-step { background: var(--tk-offwhite); padding: 32px; border-radius: var(--tk-radius); }
.tk-step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--tk-yellow);
  color: var(--tk-black);
  font-weight: 700;
  font-family: var(--tk-display);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
}
.tk-step h3 { font-size: 22px; margin-bottom: 0.6em; }
.tk-step p { font-size: 16px; margin-bottom: 1em; }
.tk-step a.tk-link { font-size: 15px; }

/* 9 FRAMEWORKS */
.tk-frameworks h2 { font-size: clamp(28px, 4.2vw, 44px); max-width: 22ch; margin-bottom: 0.6em; }
.tk-frameworks__intro { font-size: 18px; margin-bottom: 48px; max-width: 60ch; }
.tk-fw-group { margin-bottom: 40px; }
.tk-fw-group__label {
  font-family: var(--tk-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tk-grey);
  margin-bottom: 16px;
}
.tk-fw-group__sub {
  font-size: 17px;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--tk-charcoal);
  opacity: 0.8;
}
.tk-fw-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .tk-fw-list { grid-template-columns: 1fr 1fr; gap: 16px; } }
.tk-fw-item {
  background: var(--tk-white);
  border: 1px solid var(--tk-grey-light);
  border-radius: var(--tk-radius-sm);
  padding: 20px 24px;
}
.tk-fw-item strong {
  font-family: var(--tk-display);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  color: var(--tk-black);
}
.tk-fw-item span { font-size: 15px; color: var(--tk-charcoal); line-height: 1.5; }

/* WHAT'S IN THE REPORT */
.tk-what h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 0.6em; }
.tk-what__lead { font-size: 18px; max-width: 60ch; margin-bottom: 40px; }
.tk-sample {
  background: #FFF8D9;
  border-radius: var(--tk-radius);
  padding: 32px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .tk-sample { flex-direction: row; align-items: center; justify-content: space-between; }
}
.tk-sample h3 { font-size: 22px; margin: 0 0 6px; }
.tk-sample p { margin: 0; font-size: 16px; }
.tk-what__list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .tk-what__list { grid-template-columns: 1fr 1fr; gap: 20px 40px; } }
.tk-what__list li { padding-left: 32px; position: relative; font-size: 16px; }
.tk-what__list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--tk-yellow);
  position: absolute;
  left: 0; top: 6px;
}
.tk-what__list li strong {
  font-family: var(--tk-display);
  font-weight: 700;
  color: var(--tk-black);
  display: block;
  margin-bottom: 2px;
  font-size: 17px;
}
.tk-what__not {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--tk-grey-light);
}
.tk-what__not h3 { font-size: 20px; margin-bottom: 1em; }
.tk-what__not ul { margin: 0; padding: 0; list-style: none; }
.tk-what__not li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  font-size: 16px;
}
.tk-what__not li::before {
  content: '—';
  position: absolute; left: 0; top: 0;
  color: var(--tk-grey);
  font-weight: 700;
}

/* WHAT'S COMING (yellow box) */
.tk-coming h2 { font-size: clamp(32px, 5vw, 56px); max-width: 18ch; margin-bottom: 0.6em; }
.tk-coming p { font-size: 18px; max-width: 60ch; }
.tk-coming__box {
  margin: 48px auto 0;
  max-width: 520px;
  aspect-ratio: 1 / 0.78;
  background: #FFE570;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12), inset 0 -60px 0 rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tk-coming__box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14%;
  background: rgba(0,0,0,0.04);
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.tk-coming__pill {
  display: inline-block;
  background: var(--tk-white);
  color: var(--tk-black);
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--tk-display);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  position: relative;
  z-index: 2;
}
.tk-coming__kicker {
  font-family: var(--tk-hand);
  font-size: 24px;
  color: var(--tk-black);
  display: inline-block;
  margin-bottom: 16px;
  transform: rotate(-2deg);
}

/* READY block */
.tk-ready h2 { font-size: clamp(44px, 7vw, 80px); margin-bottom: 0.3em; text-align: center; }
.tk-ready p  { font-size: 18px; max-width: 54ch; margin: 0 auto 32px; text-align: center; }
.tk-ready__cta { text-align: center; }
.tk-ready__small {
  text-align: center;
  font-size: 14px;
  color: var(--tk-grey);
  margin-top: 24px;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* WHY I BUILT THIS */
.tk-why h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 1em; }
.tk-why__body p { font-size: 18px; line-height: 1.8; }
.tk-why__body p:first-of-type::first-letter {
  font-family: var(--tk-display);
  font-size: 2.4em;
  float: left;
  line-height: 0.9;
  padding: 4px 10px 0 0;
  color: var(--tk-yellow-deep);
  font-weight: 800;
}
.tk-why__sig {
  font-family: var(--tk-hand);
  font-size: 42px;
  font-weight: 700;
  color: var(--tk-black);
  margin-top: 32px;
  display: inline-block;
  transform: rotate(-2deg);
}

/* FAQ ACCORDION */
.tk-faq__group { margin-bottom: 48px; }
.tk-faq__group-label {
  font-family: var(--tk-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tk-grey);
  margin-bottom: 16px;
}
.tk-faq__item {
  border-top: 1px solid var(--tk-grey-light);
}
.tk-faq__item:last-child { border-bottom: 1px solid var(--tk-grey-light); }
.tk-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--tk-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--tk-black);
  position: relative;
  line-height: 1.4;
}
.tk-faq__item summary::-webkit-details-marker { display: none; }
.tk-faq__item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 400;
  color: var(--tk-grey);
  transition: transform 0.2s ease;
  line-height: 1;
}
.tk-faq__item[open] summary::after { content: '−'; }
.tk-faq__item summary:hover { color: var(--tk-yellow-deep); }
.tk-faq__body {
  padding: 0 40px 22px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--tk-charcoal);
}
.tk-faq__body p { font-size: 16px; }
.tk-faq__body a { color: var(--tk-black); font-weight: 600; }

/* STAY IN TOUCH */
.tk-email h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 0.5em; }
.tk-email p  { font-size: 17px; max-width: 54ch; margin-bottom: 24px; }
.tk-email__form { display: flex; flex-wrap: wrap; gap: 12px; max-width: 520px; }
.tk-email__form input {
  flex: 1 1 220px;
  font-family: var(--tk-body);
  font-size: 16px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--tk-grey-light);
  background: var(--tk-white);
  min-width: 0;
}
.tk-email__form input:focus { outline: 0; border-color: var(--tk-black); }
.tk-email__note { font-size: 14px; color: var(--tk-grey); margin-top: 24px; max-width: 60ch; }

/* FOOTER */
.tk-footer { padding: 48px 24px; background: var(--tk-black); color: var(--tk-white); }
@media (min-width: 768px) { .tk-footer { padding: 64px 48px; } }
.tk-footer__wrap {
  max-width: var(--tk-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .tk-footer__wrap { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.tk-footer h3 {
  font-family: var(--tk-display);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--tk-white);
}
.tk-footer p { margin: 0 0 8px; font-size: 14px; opacity: 0.78; line-height: 1.6; }
.tk-footer__title {
  font-family: var(--tk-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tk-white);
  opacity: 0.6;
  margin: 0 0 12px;
}
.tk-footer__links { list-style: none; padding: 0; margin: 0; }
.tk-footer__links li { margin-bottom: 8px; }
.tk-footer__links a {
  color: var(--tk-white);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.12s;
}
.tk-footer__links a:hover { opacity: 1; text-decoration: underline; }
.tk-footer__meta { font-size: 12px; opacity: 0.55; max-width: 52ch; line-height: 1.6; margin-top: 16px; }

/* Inline next-page link at end of pages */
.tk-next {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--tk-grey-light);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  font-size: 16px;
}
.tk-next__label { color: var(--tk-grey); font-weight: 500; }
.tk-next a { font-family: var(--tk-display); font-weight: 700; font-size: 18px; color: var(--tk-black); text-decoration: none; border-bottom: 2px solid var(--tk-yellow); }
.tk-next a:hover { border-bottom-color: var(--tk-black); }
