/* ==========================================================================
   That's Handy — Forecasting + Plans & Features pages
   Loads after assets/main.css. Everything is scoped to .th-page / .th-hero so
   it can't leak into the homepage or the existing content templates.
   Note: the theme sets html { font-size: 62.5% }, so 1rem = 10px here.
   ========================================================================== */

:root {
  --th-sun: #FFCE00;
  --th-sand: #FFF0B0;
  --th-sand-deep: #FFE88A;
  --th-sand-lip: #F3D66A;
  --th-cream: #FFFAE6;
  --th-ink: #393938;
  --th-ink-soft: #5E5E5B;
  --th-ocean: #0B6FF9;
  --th-ocean-deep: #094FB1;
  --th-ocean-mist: #E7F1FE;
  --th-sunset: #FF7E1D;
  --th-palm: #49A35B;
  --th-palm-deep: #2F7A40;
  --th-palm-mist: #DDF0E1;
  --th-purple: #62388A;
  --th-purple-deep: #462862;
  --th-coral: #DC4C44;
  --th-coral-mist: #FDE3E1;
  --th-pink: #EF89C4;
  --th-peach: #FFD7B9;
  --th-blush: #FADAED;
}

/* ---------- Hero (sits inside the theme's yellow sun header) ---------- */

.section-1.content.th-hero h1 {
  color: var(--th-ink);
  font-size: clamp(4.4rem, 5.6vw, 7.2rem);
  margin: 0 auto 1.6rem;
  max-width: 26ch;
  line-height: 1.02;
}
.section-1.content.th-hero .th-hero-copy {
  /* clears the absolute header, and lifts the copy above the sun's face */
  padding-top: 11rem;
  padding-bottom: 19%;
}
.section-1.content.th-hero .logo img { max-width: 150px; }
.section-1.content.th-hero p.th-hero-intro {
  color: var(--th-ink) !important;
  font-size: 2rem;
  line-height: 1.55;
  max-width: 62ch;
  margin: 0 auto 2.4rem;
}
.th-hero-badge {
  display: inline-block;
  background: var(--th-ink);
  color: var(--th-sun);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  margin-bottom: 1.8rem;
}
.th-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

/* ---------- Buttons ---------- */

.th-btn,
a.th-btn,
.section-1.content.th-hero a.th-btn {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.2;
  padding: 1.3rem 3rem;
  margin: 0;
  border-radius: 100px;
  border: 2px solid transparent;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.th-btn:active { transform: translateY(1px); }
.th-btn:focus-visible,
.th-page button:focus-visible,
.th-page summary:focus-visible,
.th-page a:focus-visible,
.th-page input:focus-visible {
  outline: 3px solid var(--th-ocean);
  outline-offset: 3px;
}

a.th-btn--blue, a.th-btn--blue:visited, a.th-btn--blue:hover,
.section-1.content.th-hero a.th-btn--blue,
.section-1.content.th-hero a.th-btn--blue:visited,
.section-1.content.th-hero a.th-btn--blue:hover {
  background: var(--th-ocean);
  color: #FFFFFF;
}
a.th-btn--blue:hover { background: var(--th-ocean-deep); }

a.th-btn--yellow, a.th-btn--yellow:visited, a.th-btn--yellow:hover {
  background: var(--th-sun);
  color: #000000;
}
a.th-btn--yellow:hover { background: #FFDB3D; }

a.th-btn--ink, a.th-btn--ink:visited, a.th-btn--ink:hover,
.section-1.content.th-hero a.th-btn--ink,
.section-1.content.th-hero a.th-btn--ink:visited,
.section-1.content.th-hero a.th-btn--ink:hover {
  background: transparent;
  border-color: var(--th-ink);
  color: var(--th-ink);
}
a.th-btn--ink:hover { background: rgba(57, 57, 56, 0.08); }

a.th-btn--ghost, a.th-btn--ghost:visited, a.th-btn--ghost:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
}
a.th-btn--ghost:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.1); }

/* ---------- Page canvas (sand + palms from the theme) ---------- */

.th-page {
  /* The theme's beach art, anchored to the bottom so its ocean wave runs
     straight into the blue footer. Above it, plain sand. */
  background: var(--th-sand) url("images/content-section.svg") no-repeat center bottom;
  background-size: 100% auto;
  padding: 2.4rem 0 calc(8rem + 15vw);
  margin-top: -1px;
  color: var(--th-ink);
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
}
.th-page *,
.th-page *::before,
.th-page *::after { box-sizing: border-box; }

:where(.th-page) :is(p, li, td, th, label, summary, button, dt, dd) {
  font-family: "Poppins", sans-serif;
  color: var(--th-ink);
}
:where(.th-page) p { font-size: 1.6rem; margin: 0 0 1.2rem; }
:where(.th-page) :is(h2, h3, h4) {
  font-family: "Bakbak One", sans-serif;
  font-weight: 400;
  color: var(--th-ink);
  line-height: 1.15;
}

.th-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* White panels with a flat "sand lip" instead of a blurred shadow —
   matches the flat, cut-paper look of the theme illustrations. */
.th-panel {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 4.8rem;
  margin: 0 0 4rem;
  box-shadow: 0 8px 0 var(--th-sand-lip);
  position: relative;
}
.th-panel > h2,
.th-h2 {
  font-size: 3.6rem;
  margin: 0 0 1rem;
}
.th-lede {
  font-size: 1.7rem !important;
  color: var(--th-ink-soft) !important;
  max-width: 60ch;
  margin: 0 0 3.2rem !important;
}
.th-muted { color: var(--th-ink-soft) !important; }

/* The beach art already ends in the ocean, so the footer's own wave isn't needed. */
body.th-feature-page .site-footer::before,
body:has(.th-page) .site-footer::before { display: none; }
body.th-feature-page .site-footer,
body:has(.th-page) .site-footer { padding-top: 2rem; margin-top: -1px; }

/* ---------- Coloured steps (from the theme's .step palette) ---------- */

.th-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: th-step;
}
.th-step {
  border-radius: 20px;
  padding: 2.4rem 2.2rem 2.6rem;
  counter-increment: th-step;
  margin: 0 !important;
}
.th-step::before {
  content: counter(th-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: #FFFFFF;
  font-family: "Bakbak One", sans-serif;
  font-size: 2rem;
  margin-bottom: 1.6rem;
}
.th-step h3 { font-size: 2.2rem; margin: 0 0 0.8rem; color: #FFFFFF; }
.th-step p { color: #FFFFFF !important; font-size: 1.5rem; margin: 0; line-height: 1.55; }
.th-step:nth-child(4n+1) { background: var(--th-purple); }
.th-step:nth-child(4n+1)::before { color: var(--th-purple); }
.th-step:nth-child(4n+2) { background: var(--th-sunset); }
.th-step:nth-child(4n+2)::before { color: var(--th-sunset); }
.th-step:nth-child(4n+3) { background: var(--th-coral); }
.th-step:nth-child(4n+3)::before { color: var(--th-coral); }
.th-step:nth-child(4n+4) { background: var(--th-palm); }
.th-step:nth-child(4n+4)::before { color: var(--th-palm); }

/* ---------- Pastel feature tiles ---------- */

.th-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.6rem;
}
.th-tile {
  border-radius: 20px;
  padding: 2.4rem;
  background: var(--th-sand);
}
.th-tile:nth-child(5n+2) { background: var(--th-blush); }
.th-tile:nth-child(5n+3) { background: var(--th-peach); }
.th-tile:nth-child(5n+4) { background: var(--th-ocean-mist); }
.th-tile:nth-child(5n+5) { background: var(--th-palm-mist); }
.th-tile-icon {
  display: block;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 1.4rem;
}
.th-tile h3,
.th-tile h4 { font-size: 2rem; margin: 0 0 0.6rem; }
.th-tile p { font-size: 1.5rem; margin: 0; line-height: 1.55; color: var(--th-ink-soft) !important; }

/* ---------- Purple CTA (same treatment as the theme's QR box) ---------- */

.th-cta {
  background: var(--th-purple);
  border-radius: 28px;
  padding: 5.6rem 4rem;
  text-align: center;
  margin: 0 0 3.2rem;
  box-shadow: 0 8px 0 var(--th-purple-deep);
}
.th-cta h2 { color: #FFFFFF; font-size: 4.2rem; margin: 0 0 1.2rem; }
.th-cta p { color: rgba(255, 255, 255, 0.85) !important; font-size: 1.8rem; max-width: 52ch; margin: 0 auto 3rem; }
.th-cta .th-hero-btns { justify-content: center; }

.th-disclaimer {
  font-size: 1.3rem !important;
  color: var(--th-ink-soft) !important;
  text-align: center;
  max-width: 70ch;
  margin: 0 auto !important;
  line-height: 1.6;
}

/* ==========================================================================
   FORECASTING
   ========================================================================== */

.th-forecast-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
}
.th-forecast-label { font-size: 1.5rem !important; font-weight: 600; margin: 0 0 0.4rem !important; color: var(--th-ink-soft) !important; }
.th-forecast-figure {
  font-family: "Bakbak One", sans-serif;
  font-size: 6.4rem;
  line-height: 1;
  color: var(--th-palm);
  margin: 0;
  letter-spacing: -0.01em;
}
.th-forecast-figure.is-negative { color: var(--th-coral); }
.th-forecast-period { font-size: 1.4rem !important; margin: 0.6rem 0 0 !important; color: var(--th-ink-soft) !important; }

.th-segment {
  display: inline-flex;
  background: var(--th-sand);
  border-radius: 100px;
  padding: 0.5rem;
  gap: 0.4rem;
}
.th-segment button {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  border: 0;
  background: transparent;
  color: var(--th-ink);
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}
.th-segment button[aria-pressed="true"] { background: var(--th-ocean); color: #FFFFFF; }

.th-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}
.th-legend li { display: flex; align-items: center; gap: 0.8rem; font-size: 1.4rem; margin: 0; }
.th-swatch { width: 1.4rem; height: 1.4rem; border-radius: 4px; display: inline-block; }
.th-swatch--line { height: 0.4rem; width: 2rem; border-radius: 2px; }

.th-chart { position: relative; width: 100%; height: 300px; }
.th-chart-note { font-size: 1.3rem !important; color: var(--th-ink-soft) !important; text-align: right; margin: 1.2rem 0 0 !important; }

.th-scenario {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}
.th-scenario h3 { font-size: 2.2rem; margin: 0 0 0.4rem; }
.th-scenario-sub { font-size: 1.4rem !important; color: var(--th-ink-soft) !important; margin: 0 0 1.6rem !important; }

.th-expenses { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.th-expense {
  margin: 0 !important;
}
.th-expense label {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.4rem 1.6rem;
  background: var(--th-cream);
  border: 2px solid var(--th-sand-deep);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}
.th-expense input {
  width: 2.2rem;
  height: 2.2rem;
  accent-color: var(--th-ocean);
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}
.th-expense input:not(:checked) + .th-expense-icon,
.th-expense input:not(:checked) ~ .th-expense-text { opacity: 0.5; }
.th-expense input:checked ~ .th-expense-text strong { color: var(--th-ink); }
.th-expense label:has(input:checked) { border-color: var(--th-ocean); background: #FFFFFF; }
.th-expense-icon { font-size: 2.2rem; line-height: 1; }
.th-expense-text { display: flex; flex-direction: column; line-height: 1.3; }
.th-expense-text strong { font-size: 1.6rem; font-weight: 600; }
.th-expense-text span { font-size: 1.4rem; color: var(--th-ink-soft); }

.th-result {
  border-radius: 20px;
  padding: 2.4rem;
  background: var(--th-palm-mist);
  border: 2px solid var(--th-palm);
  margin-bottom: 1.6rem;
}
.th-result.is-negative { background: var(--th-coral-mist); border-color: var(--th-coral); }
.th-result p { margin: 0 !important; font-size: 1.5rem !important; }
.th-result-figure {
  display: block;
  font-family: "Bakbak One", sans-serif;
  font-size: 4.4rem;
  line-height: 1.1;
  color: var(--th-palm-deep);
  margin-top: 0.4rem;
}
.th-result.is-negative .th-result-figure { color: var(--th-coral); }

.th-breakdown {
  background: var(--th-cream);
  border-radius: 20px;
  padding: 2rem 2.4rem;
}
.th-breakdown h4 { font-size: 1.8rem; margin: 0 0 1rem; }
.th-breakdown ul { list-style: none; padding: 0; margin: 0; }
.th-breakdown li {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px dashed rgba(57, 57, 56, 0.2);
  font-size: 1.5rem;
  margin: 0;
}
.th-breakdown li:last-child { border-bottom: 0; }
.th-breakdown .is-pos { color: var(--th-palm-deep); font-weight: 600; }
.th-breakdown .is-neg { color: var(--th-coral); font-weight: 600; }

/* ==========================================================================
   PLANS & FEATURES
   ========================================================================== */

.th-jump {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 240, 176, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.2rem 0;
  margin: -2.4rem 0 3.2rem;
}
.th-jump ul {
  display: flex;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}
.th-jump ul::-webkit-scrollbar { display: none; }
.th-jump li { margin: 0; flex-shrink: 0; }
.th-jump a,
.th-jump a:visited {
  display: block;
  font-family: "Bakbak One", sans-serif;
  font-size: 1.6rem;
  color: var(--th-ink);
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  background: #FFFFFF;
  border: 2px solid transparent;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.th-jump a:hover { border-color: var(--th-ink); color: var(--th-ink); }
.th-jump a.is-current { color: #FFFFFF; }
.th-jump li:nth-child(1) a.is-current { background: var(--th-purple); }
.th-jump li:nth-child(2) a.is-current { background: var(--th-sunset); }
.th-jump li:nth-child(3) a.is-current { background: var(--th-ocean); }
.th-jump li:nth-child(4) a.is-current { background: var(--th-coral); }
.th-jump li:nth-child(5) a.is-current { background: var(--th-palm); }
.th-jump li:nth-child(6) a.is-current { background: var(--th-ink); }

.th-anchor { scroll-margin-top: 9rem; }

/* Plan cards — each plan wears one of the theme's colours */
.th-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 4.8rem;
}
.th-plan {
  --plan: var(--th-palm);
  --plan-text: #FFFFFF;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #FFFFFF;
  border: 2px solid var(--th-sand);
  overflow: hidden;
  position: relative;
}
.th-plan--free { --plan: var(--th-palm); }
.th-plan--starter { --plan: var(--th-sunset); }
.th-plan--growth { --plan: var(--th-pink); --plan-text: var(--th-ink); }
.th-plan--pro { --plan: var(--th-coral); }
.th-plan--team { --plan: var(--th-purple); }
.th-plan--business { --plan: var(--th-ocean); }

.th-plan-head {
  background: var(--plan);
  padding: 2.4rem 2.4rem 2rem;
}
.th-plan-head h3 {
  color: var(--plan-text);
  font-size: 2.4rem;
  margin: 0 0 1rem;
}
.th-plan-price {
  font-family: "Bakbak One", sans-serif;
  font-size: 5.2rem;
  line-height: 1;
  color: var(--plan-text);
  margin: 0 !important;
}
.th-plan-price sup { font-size: 0.45em; position: relative; vertical-align: baseline; line-height: 0; top: -0.85em; margin-right: 0.2rem; }
.th-plan-period {
  font-size: 1.4rem !important;
  color: var(--plan-text) !important;
  opacity: 0.85;
  margin: 0.6rem 0 0 !important;
}
.th-plan-body {
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.th-plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2.4rem;
  display: grid;
  gap: 0.9rem;
  flex: 1;
}
.th-plan li {
  position: relative;
  padding-left: 2.8rem;
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.4;
}
.th-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--th-palm) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.3rem no-repeat;
}
.th-plan li.is-off { color: #9A9A96; }
.th-plan li.is-off::before {
  background: #ECEBE6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' fill='none' stroke='%23A3A39E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 1.3rem no-repeat;
}
a.th-plan-cta,
a.th-plan-cta:visited,
a.th-plan-cta:hover {
  display: block;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  padding: 1.3rem 2rem;
  border-radius: 100px;
  background: var(--plan);
  color: var(--plan-text);
  text-decoration: none;
  border: 2px solid var(--plan);
}
a.th-plan-cta:hover { background: transparent; color: var(--th-ink); }

.th-plan--featured {
  border: 4px solid var(--th-sun);
  box-shadow: 0 8px 0 var(--th-sand-lip);
  transform: translateY(-6px);
}
.th-plan-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--th-sun);
  color: #000000;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 0.5rem 1.4rem;
  border-radius: 100px;
}

/* Comparison table */
.th-compare-title { font-size: 2.6rem; margin: 0 0 1.6rem; }
.th-compare {
  overflow-x: auto;
  border-radius: 20px;
  border: 2px solid var(--th-sand);
}
.th-compare table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}
.th-compare th,
.th-compare td {
  padding: 1.3rem 1.4rem;
  text-align: center;
  font-size: 1.45rem;
  border-bottom: 1px solid #F1EEDF;
  vertical-align: middle;
  background: #FFFFFF;
}
.th-compare thead th {
  font-family: "Bakbak One", sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  color: #FFFFFF;
  border-bottom: 0;
  position: sticky;
  top: 0;
}
.th-compare thead th:nth-child(1) { background: #FFFFFF; }
.th-compare thead th:nth-child(2) { background: var(--th-palm); }
.th-compare thead th:nth-child(3) { background: var(--th-sunset); }
.th-compare thead th:nth-child(4) { background: var(--th-pink); color: var(--th-ink); }
.th-compare thead th:nth-child(5) { background: var(--th-coral); }
.th-compare thead th:nth-child(6) { background: var(--th-purple); }
.th-compare thead th:nth-child(7) { background: var(--th-ocean); }
.th-compare th[scope="row"],
.th-compare td:first-child {
  text-align: left;
  font-weight: 500;
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 200px;
}
.th-compare .th-cat th {
  background: var(--th-sand);
  font-family: "Bakbak One", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  text-align: left;
}
.th-compare .is-yes { color: var(--th-palm-deep); font-weight: 700; font-size: 1.8rem; }
.th-compare .is-no { color: #B9B8B2; }
.th-compare tbody tr:last-child td,
.th-compare tbody tr:last-child th { border-bottom: 0; }

.th-fee-note {
  background: var(--th-cream);
  border-left: 6px solid var(--th-sun);
  border-radius: 0 16px 16px 0;
  padding: 1.6rem 2rem;
  margin: 0 0 3.2rem;
}
.th-fee-note p { margin: 0 !important; font-size: 1.5rem !important; }

/* Add-ons */
.th-addons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.th-addon {
  border-radius: 24px;
  padding: 3.2rem;
  background: var(--th-peach);
}
.th-addon + .th-addon { background: var(--th-ocean-mist); }
.th-addon h3 { font-size: 2.6rem; margin: 0 0 0.6rem; }
.th-addon-tag {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 600;
  background: #FFFFFF;
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  margin-bottom: 1.4rem;
}
.th-addon > p { font-size: 1.5rem !important; margin: 0 0 2rem !important; }
.th-addon dl { margin: 0; background: #FFFFFF; border-radius: 16px; padding: 0.6rem 1.8rem; }
.th-addon dl div {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.2rem 0;
  border-bottom: 1px dashed rgba(57, 57, 56, 0.18);
}
.th-addon dl div:last-child { border-bottom: 0; }
.th-addon dt { font-weight: 400; font-size: 1.45rem; }
.th-addon dd { margin: 0; font-family: "Bakbak One", sans-serif; font-size: 1.8rem; white-space: nowrap; }

/* For customers */
.th-customers {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.th-csteps { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 2rem; counter-reset: th-c; }
.th-csteps li { display: flex; gap: 1.6rem; margin: 0; counter-increment: th-c; }
.th-csteps li::before {
  content: counter(th-c);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: var(--th-sun);
  font-family: "Bakbak One", sans-serif;
  font-size: 2rem;
}
.th-csteps h3 { font-size: 2rem; margin: 0.4rem 0 0.4rem; }
.th-csteps p { font-size: 1.5rem; margin: 0; color: var(--th-ink-soft) !important; }

.th-appbox {
  background: var(--th-purple);
  border-radius: 24px;
  padding: 3.6rem 3.2rem;
  text-align: center;
}
.th-appbox h3 { color: #FFFFFF; font-size: 3rem; margin: 0 0 1rem; }
.th-appbox p { color: rgba(255, 255, 255, 0.85) !important; font-size: 1.5rem; margin: 0 0 2.4rem; }
.th-stores { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.th-stores a { display: inline-block; }
.th-stores img { height: 4.8rem; width: auto; display: block; }

/* FAQ — accordion in the theme's tab style */
.th-faq { display: grid; gap: 1.2rem; }
.th-faq details {
  border-radius: 18px;
  background: var(--th-cream);
  overflow: hidden;
  border: 2px solid var(--th-sand);
}
.th-faq summary {
  list-style: none;
  cursor: pointer;
  font-family: "Bakbak One", sans-serif;
  font-size: 1.9rem;
  padding: 1.8rem 6rem 1.8rem 2.4rem;
  position: relative;
  background: var(--th-sand);
  color: var(--th-ink);
}
.th-faq summary::-webkit-details-marker { display: none; }
.th-faq summary::after {
  content: "+";
  position: absolute;
  right: 2.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
}
.th-faq details[open] summary { background: var(--th-ocean); color: #FFFFFF; }
.th-faq details[open] summary::after { content: "\2212"; color: var(--th-ocean); }
.th-faq-a { padding: 2rem 2.4rem 2.2rem; }
.th-faq-a p { font-size: 1.55rem; margin: 0 0 1rem; }
.th-faq-a p:last-child { margin: 0; }
.th-faq-a ul { margin: 0 0 1.2rem; padding-left: 2.2rem; columns: 2; column-gap: 3rem; }
.th-faq-a li { font-size: 1.5rem; margin: 0 0 0.4rem; break-inside: avoid; }
.th-faq-a a, .th-faq-a a:visited { color: var(--th-ocean); font-size: inherit; }

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .section-1.content.th-hero .th-hero-copy { padding-top: 4rem; padding-bottom: 20%; }
  .th-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-plan--featured { transform: none; }
  .th-scenario,
  .th-customers { grid-template-columns: 1fr; gap: 3.2rem; }
  .th-jump ul { justify-content: flex-start; padding: 0 2rem; }
}

@media (max-width: 640px) {
  .section-1.content.th-hero p.th-hero-intro { font-size: 1.7rem; }
  .section-1.content.th-hero .th-hero-copy { padding: 2rem 2.4rem 32%; }
  .th-panel { padding: 2.8rem 2.2rem; border-radius: 22px; }
  .th-panel > h2, .th-h2 { font-size: 2.9rem; }
  .th-steps,
  .th-plans,
  .th-addons { grid-template-columns: 1fr; }
  .th-forecast-figure { font-size: 4.8rem; }
  .th-segment button { padding: 0.8rem 1.3rem; font-size: 1.35rem; }
  .th-chart { height: 240px; }
  .th-cta { padding: 4rem 2.4rem; }
  .th-cta h2 { font-size: 3.2rem; }
  .th-faq-a ul { columns: 1; }
  .th-faq summary { font-size: 1.7rem; }
  .th-addon { padding: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .th-page *, .th-hero * { transition: none !important; animation: none !important; }
}
