/*
 * Thera-UP 7.3.21 — homepage CONTENT only, single source of truth.
 *
 * It does NOT own the site shell. Header, navigation, logo and footer are
 * rendered exclusively by the common theme styles used on all pages.
 *
 * Typography sizes come from the global Customizer. Weight contract:
 * - normal reading copy = 400
 * - labels / links / controls = 600
 * - headings = 700
 * The weights are written directly in their source rules: no weight variables,
 * no corrective patch layer, no homepage-wide inherited boldness.
 */

.tu-v7-home {
  overflow: hidden;
  background: #fff;
  color: var(--tu-v6-text);
}

.tu-v7-home *,
.tu-v7-home *::before,
.tu-v7-home *::after { box-sizing: border-box; }

.tu-v7-home h1,
.tu-v7-home h2,
.tu-v7-home h3 {
  margin-top: 0;
  color: var(--tu-v6-ink);
  font-family: var(--tu-global-font-heading, var(--tu-v6-font-heading));
  font-weight: 700;
}

.tu-v7-home h1 { font-size: var(--tu-global-h1, 54px); }
.tu-v7-home h2 { font-size: var(--tu-global-h2, 40px); }
.tu-v7-home h3 { font-size: var(--tu-global-h3, 26px); }

.tu-v7-home p,
.tu-v7-home li,
.tu-v7-home small { font-weight: 400; }

.tu-v7-container {
  width: min(calc(100% - 48px), var(--tu-v6-width));
  margin-inline: auto;
}

.tu-v7-kicker {
  margin: 0 0 18px;
  color: var(--tu-v6-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tu-v7-section-head { max-width: 790px; margin-bottom: 54px; }
.tu-v7-section-head.is-centered { margin-inline: auto; text-align: center; }
.tu-v7-section-head h2,
.tu-v7-theo-copy h2,
.tu-v7-trial h2 {
  margin-bottom: 0;
  line-height: 1.07;
  letter-spacing: -.035em;
}
.tu-v7-section-head > p:last-child {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--tu-v6-muted);
  font-size: var(--tu-global-base, 16px);
  font-weight: 400;
}

/* Hero */
.tu-v7-hero {
  position: relative;
  padding: 86px 0 0;
  background: radial-gradient(circle at 50% 4%, rgba(104,71,245,.15), transparent 34%), linear-gradient(180deg,#fbfaff 0,#fff 78%);
}
.tu-v7-hero-copy { max-width: 980px; text-align: center; }
.tu-v7-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  line-height: 1.02;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.tu-v7-mission,
.tu-v7-lead,
.tu-v7-trial-lead {
  font-size: var(--tu-global-lead, 20px);
  font-weight: 400;
}
.tu-v7-mission {
  max-width: 880px;
  margin: 26px auto 0;
  color: #4e5568;
  line-height: 1.6;
  text-wrap: balance;
}
.tu-v7-signature {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 30px auto 0;
  font-size: var(--tu-v7-signature, 32px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.tu-v7-signature span {
  display: block;
  color: var(--tu-v6-ink);
  font-size: .88em;
  font-weight: 600;
}
.tu-v7-signature strong {
  display: block;
  color: var(--tu-v7-signature-color);
  font-size: 1.16em;
  font-weight: 700;
}
.tu-v7-lead { max-width: 820px; margin: 22px auto 0; color: var(--tu-v6-muted); }
.tu-v7-lead.is-small { max-width: 650px; margin: 20px 0 0; }
.tu-v7-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.tu-v7-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: var(--tu-global-button, 15px);
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.tu-v7-button svg,
.tu-v7-text-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.tu-v7-button.is-primary { background: var(--tu-home-button-bg,var(--tu-v6-primary)); color: var(--tu-home-button-text,#fff); box-shadow: 0 12px 28px rgba(104,71,245,.25); }
.tu-v7-button.is-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(104,71,245,.32); }
.tu-v7-button.is-secondary { border: 1px solid #d9dce7; background: #fff; color: var(--tu-v6-ink); }
.tu-v7-proof { margin: 16px 0 0; color: #858c9e; font-size: 12px; font-weight: 400; }
.tu-v7-hero-stage { position: relative; max-width: 1180px; margin-top: 58px; }
.tu-v7-browser-glow { position: absolute; inset: 10% 12% -7%; background: radial-gradient(ellipse,rgba(104,71,245,.22),transparent 66%); filter: blur(34px); }
.tu-v7-browser { position: relative; margin: 0; padding: 12px; overflow: hidden; border: 1px solid #e1e3ee; border-radius: 24px 24px 0 0; background: rgba(255,255,255,.88); box-shadow: 0 30px 80px rgba(34,31,71,.15); }
.tu-v7-browser img { display: block; width: 100%; height: auto; border-radius: 15px 15px 0 0; }

/* Problem / system */
.tu-v7-chaos { padding: 104px 0 92px; background: linear-gradient(145deg,var(--tu-v7-dark-bg) 0%,var(--tu-v7-dark-bg-2) 100%); color: var(--tu-v7-dark-text); }
.tu-v7-chaos .tu-v7-kicker { color: var(--tu-v6-accent); }
.tu-v7-chaos h2 { color: var(--tu-v7-dark-text); }
.tu-v7-chaos .tu-v7-section-head p { color: var(--tu-v7-dark-muted); }
.tu-v7-chaos-visual { display: grid; grid-template-columns: 1.25fr 80px .8fr; gap: 24px; align-items: center; }
.tu-v7-tools { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.tu-v7-tools span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  color: #eef0f7;
  font-weight: 400;
}
.tu-v7-tools span::before { content: '+'; margin-right: 12px; color: var(--tu-v6-accent); font-size: 20px; font-weight: 400; }
.tu-v7-transform { color: #5f6079; font: 700 46px/1 var(--tu-global-font-heading,var(--tu-v6-font-heading)); text-align: center; }
.tu-v7-system-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; padding: 34px; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; background: linear-gradient(145deg,rgba(104,71,245,.38),rgba(104,71,245,.08)); }
.tu-v7-system-number { color: #fff; font: 700 76px/.9 var(--tu-global-font-heading,var(--tu-v6-font-heading)); }
.tu-v7-system-card strong { margin-top: 12px; color: var(--tu-v6-accent); font-size: 26px; font-weight: 600; }
.tu-v7-system-card p { margin: 12px 0 0; color: var(--tu-v7-dark-muted); font-weight: 400; }
.tu-v7-manifesto { display: grid; grid-template-columns: 1fr 50px 1fr 50px 1fr; align-items: center; margin-top: 54px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.12); }
.tu-v7-manifesto div { text-align: center; }
.tu-v7-manifesto strong { display: block; color: #fff; font-size: 24px; font-weight: 600; letter-spacing: .02em; }
.tu-v7-manifesto span { display: block; margin-top: 4px; color: #8f97ac; font-weight: 400; }
.tu-v7-manifesto i { color: var(--tu-v6-accent); font-size: 24px; font-style: normal; text-align: center; }

/* Theo */
.tu-v7-theo { padding: 106px 0; background: linear-gradient(180deg,#fff,#fbfaff); }
.tu-v7-theo-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: center; }
.tu-v7-theo-figure { position: relative; display: grid; place-items: center; min-height: 460px; }
.tu-v7-orbit { position: absolute; width: 360px; height: 360px; border: 1px solid #dfd8ff; border-radius: 50%; box-shadow: 0 0 0 54px rgba(104,71,245,.035),0 0 0 108px rgba(104,71,245,.02); }
.tu-v7-theo-figure img { position: relative; z-index: 2; width: auto; max-width: 88%; height: auto; max-height: 430px; filter: drop-shadow(0 30px 28px rgba(49,35,116,.18)); }
.tu-v7-theo-points { display: grid; gap: 13px; margin: 30px 0; padding: 0; list-style: none; }
.tu-v7-theo-points li { display: flex; align-items: flex-start; gap: 12px; color: #343b50; font-weight: 400; }
.tu-v7-theo-points li > span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; background: #eeeaff; color: var(--tu-v6-primary); }
.tu-v7-theo-points svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tu-v7-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--tu-v6-primary); font-weight: 600; text-decoration: none; }
.tu-v7-text-link.is-light { color: #fff; }

/* Cost */
.tu-v7-cost { padding: 106px 0; background: var(--tu-v6-soft); }
.tu-v7-cost-grid { display: grid; grid-template-columns: 1.28fr .72fr; gap: 26px; align-items: stretch; }
.tu-v7-receipt { overflow: hidden; border: 1px solid #dfe2ec; border-radius: 20px; background: #fff; box-shadow: 0 20px 60px rgba(36,34,78,.06); }
.tu-v7-receipt-head,
.tu-v7-receipt-row { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
.tu-v7-receipt-head { padding: 15px 22px; background: #111327; color: #aeb5ca; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tu-v7-receipt-row { padding: 13px 22px; border-top: 1px solid #eceef4; }
.tu-v7-receipt-row:first-of-type { border-top: 0; }
.tu-v7-receipt-row strong { display: block; color: #252d42; font-size: 14px; font-weight: 500; }
.tu-v7-receipt-row small { display: block; margin-top: 2px; color: #9198a9; font-size: 10px; font-weight: 400; }
.tu-v7-receipt-row b { color: #222a3d; font-size: 14px; font-weight: 500; text-align: right; white-space: nowrap; }
.tu-v7-cost-punch { display: flex; flex-direction: column; justify-content: center; padding: 38px; border-radius: 20px; background: linear-gradient(145deg,#11132b,#261d57); color: #fff; }
.tu-v7-cost-punch > p:first-child { margin: 0; color: var(--tu-v6-accent); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.tu-v7-cost-punch > strong { display: block; margin-top: 18px; color: #fff; font-size: clamp(38px,4vw,58px); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
.tu-v7-cost-punch > span { margin-top: 10px; color: #d5d9e7; font-size: 19px; font-weight: 400; }
.tu-v7-cost-punch hr { width: 100%; margin: 28px 0; border: 0; border-top: 1px solid rgba(255,255,255,.13); }
.tu-v7-cost-punch > b { color: #fff; font-size: 18px; font-weight: 600; }
.tu-v7-cost-conclusion { margin: 16px 0 22px; color: #aeb5c8; font-weight: 400; }
.tu-v7-source-note { margin: 16px 0 0; color: #8c93a3; font-size: 11px; font-weight: 400; }

/* Pricing: homepage-scoped presentation of the shared v6 component. */
.tu-v7-pricing { padding: 106px 0; background: #fff; }
.tu-v7-pricing .tu-v6-pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: stretch; max-width: 1160px; margin: 0 auto; }
.tu-v7-pricing .tu-v6-price-card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 30px 26px; border: 1px solid #dde0ea; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(31,35,69,.05); }
.tu-v7-pricing .tu-v6-price-card.is-featured { border-color: var(--tu-v6-primary); box-shadow: 0 22px 50px rgba(104,71,245,.18); transform: translateY(-8px); }
.tu-v7-pricing .tu-v6-price-badge { position: absolute; top: -13px; left: 50%; padding: 7px 12px; transform: translateX(-50%); border-radius: 999px; background: var(--tu-v6-primary); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.tu-v7-pricing .tu-v6-price-card header { min-height: 92px; }
.tu-v7-pricing .tu-v6-price-card h3 { margin: 0 0 8px; color: var(--tu-v6-ink); font-size: var(--tu-global-h3,26px); font-weight: 700; }
.tu-v7-pricing .tu-v6-price-card header p { margin: 0; color: var(--tu-v6-muted); font-size: 13px; font-weight: 400; }
.tu-v7-pricing .tu-v6-price { display: flex; align-items: flex-end; gap: 5px; margin: 20px 0; }
.tu-v7-pricing .tu-v6-price strong { color: var(--tu-v6-ink); font-size: 42px; font-weight: 700; line-height: 1; }
.tu-v7-pricing .tu-v6-price span { color: var(--tu-v6-muted); font-size: 12px; font-weight: 400; }
.tu-v7-pricing .tu-v6-credits { display: grid; gap: 6px; margin-bottom: 18px; padding: 13px 15px; border-radius: 12px; background: #f6f7fb; color: #535b70; font-size: 11px; }
.tu-v7-pricing .tu-v6-credits span { font-weight: 400; }
.tu-v7-pricing .tu-v6-credits b { color: var(--tu-v6-ink); font-weight: 500; }
.tu-v7-pricing .tu-v6-module-count { display: block; margin: 20px 0 12px; color: var(--tu-v6-ink); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tu-v7-pricing .tu-v6-module-list { display: grid; flex: 1; gap: 7px; margin: 0 0 26px; padding: 0; list-style: none; }
.tu-v7-pricing .tu-v6-module-list li { display: flex; align-items: flex-start; gap: 8px; color: #626a7e; font-size: 11px; font-weight: 400; line-height: 1.4; }
.tu-v7-pricing .tu-v6-module-list li > span:first-child { color: #20a66a; font-weight: 700; }
.tu-v7-pricing .tu-v6-module-list li.is-missing { opacity: .46; }
.tu-v7-pricing .tu-v6-module-list li.is-missing > span:first-child { color: #bf5c6b; }
.tu-v7-pricing .tu-v6-price-card > .tu-v6-button { width: 100%; margin-top: auto; }
.tu-v7-pricing .tu-v6-price-card .tu-v6-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; border-radius: 14px; font-size: var(--tu-global-button,15px); font-weight: 700; line-height: 1; text-decoration: none; }
.tu-v7-pricing .tu-v6-price-card .tu-v6-button.is-primary { background: var(--tu-home-button-bg,var(--tu-v6-primary)); color: var(--tu-home-button-text,#fff); box-shadow: 0 14px 32px rgba(104,71,245,.28); }
.tu-v7-pricing .tu-v6-price-card .tu-v6-button.is-outline { border-color: #d9dce7; background: #fff; color: var(--tu-v6-ink); }
.tu-v7-pricing-link { margin-top: 28px; text-align: center; }

/* Trial */
.tu-v7-trial { padding: 88px 0; background: linear-gradient(135deg,var(--tu-v7-dark-bg),var(--tu-v7-dark-bg-2)); color: var(--tu-v7-dark-text); }
.tu-v7-trial .tu-v7-kicker { color: var(--tu-v6-accent); }
.tu-v7-trial h2 { max-width: 850px; color: var(--tu-v7-dark-text); }
.tu-v7-trial-inner { display: grid; justify-items: center; text-align: center; }
.tu-v7-trial-lead { max-width: 760px; margin: 18px auto 0; color: var(--tu-v7-dark-muted); line-height: 1.55; text-align: center; }
.tu-v7-trial-stats { display: grid; grid-template-columns: repeat(3,minmax(140px,210px)); gap: 0; margin: 42px 0 34px; }
.tu-v7-trial-stats > div { padding: 0 30px; border-right: 1px solid rgba(255,255,255,.12); }
.tu-v7-trial-stats > div:last-child { border-right: 0; }
.tu-v7-trial-stats strong { display: block; color: #fff; font-size: 50px; font-weight: 700; line-height: 1; }
.tu-v7-trial-stats span { display: block; margin-top: 9px; color: #8f98af; font-size: 10px; font-weight: 600; letter-spacing: .13em; }
.tu-v7-button.is-light { background: #fff; color: #241a54; }
.tu-v7-trial-note { margin: 14px 0 0; color: #929ab0; font-size: 12px; font-weight: 400; }

/* Profession section inserted by v700; its active homepage styling lives here. */
.tu-v7-home .tu-home-professions { padding: clamp(64px,8vw,112px) 0; border-top: 1px solid var(--tu-global-border,#e4e7f0); background: linear-gradient(180deg,#fff 0%,var(--tu-global-soft,#f5f6fb) 100%); }
.tu-v7-home .tu-home-professions__intro { max-width: 860px; margin: 0 auto 34px; text-align: center; }
.tu-v7-home .tu-home-professions__intro h2 { margin: .3em 0; font-size: var(--tu-global-h2,40px); font-weight: 700; }
.tu-v7-home .tu-home-professions__intro p:last-child { color: var(--tu-global-muted,#6c7488); font-size: var(--tu-global-base,16px); font-weight: 400; }
.tu-v7-home .tu-profession-link-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.tu-v7-home .tu-profession-link-grid > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--tu-global-border,#e4e7f0); border-radius: 14px; background: #fff; color: var(--tu-global-ink,#101127); font-weight: 400; text-decoration: none; box-shadow: 0 8px 28px rgba(20,20,43,.10); transition: transform .18s ease,border-color .18s ease,color .18s ease; }
.tu-v7-home .tu-profession-link-grid > a:hover { transform: translateY(-2px); border-color: var(--tu-global-primary,#6847f5); color: var(--tu-home-link-hover,#3f2bb2); }
.tu-v7-home .tu-home-professions__action { margin-top: 28px; text-align: center; }

@media (max-width: 1050px) {
  .tu-v7-home .tu-profession-link-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .tu-v7-chaos-visual { grid-template-columns: 1fr; }
  .tu-v7-transform { transform: rotate(90deg); }
  .tu-v7-system-card { min-height: 210px; }
  .tu-v7-theo-grid,
  .tu-v7-cost-grid { grid-template-columns: 1fr; }
  .tu-v7-theo-grid { gap: 32px; }
  .tu-v7-theo-copy { text-align: center; }
  .tu-v7-theo-copy .tu-v7-lead { margin-inline: auto; }
  .tu-v7-theo-points { max-width: 720px; margin-inline: auto; text-align: left; }
  .tu-v7-cost-punch { min-height: 350px; }
  .tu-v7-manifesto { grid-template-columns: 1fr; }
  .tu-v7-manifesto i { padding: 6px; transform: rotate(90deg); }
  .tu-v7-pricing .tu-v6-pricing-grid { grid-template-columns: 1fr; max-width: 620px; }
  .tu-v7-pricing .tu-v6-price-card { min-height: auto; }
  .tu-v7-pricing .tu-v6-price-card.is-featured { transform: none; }
}

@media (max-width: 780px) {
  .tu-v7-home .tu-profession-link-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tu-v7-home h1 { font-size: var(--tu-type-h1-mobile, 40px); }
  .tu-v7-home h2 { font-size: var(--tu-type-h2-mobile, 32px); }
  .tu-v7-home h3 { font-size: var(--tu-type-h3-mobile, 24px); }
  .tu-v7-mission,
  .tu-v7-lead,
  .tu-v7-trial-lead { font-size: var(--tu-type-lead-mobile, 18px); }
  .tu-v7-kicker { font-size: var(--tu-type-kicker-mobile, 11px); }
  .tu-v7-button,
  .tu-v7-pricing .tu-v6-price-card .tu-v6-button { font-size: var(--tu-type-button-mobile, 15px); }
}

@media (max-width: 680px) {
  .tu-v7-container { width: min(calc(100% - 28px),var(--tu-v6-width)); }
  .tu-v7-hero { padding-top: 58px; }
  .tu-v7-mission { margin-top: 20px; line-height: 1.55; }
  .tu-v7-signature { font-size: var(--tu-v7-signature-mobile,26px); }
  .tu-v7-actions { display: grid; }
  .tu-v7-button { width: 100%; }
  .tu-v7-hero-stage { margin-top: 40px; }
  .tu-v7-browser { padding: 7px; border-radius: 16px 16px 0 0; }
  .tu-v7-chaos,
  .tu-v7-theo,
  .tu-v7-cost,
  .tu-v7-pricing { padding: 74px 0; }
  .tu-v7-tools { grid-template-columns: 1fr; }
  .tu-v7-system-card { padding: 28px; }
  .tu-v7-system-number { font-size: 64px; }
  .tu-v7-manifesto { margin-top: 38px; }
  .tu-v7-theo-figure { min-height: 340px; }
  .tu-v7-orbit { width: 260px; height: 260px; box-shadow: 0 0 0 40px rgba(104,71,245,.035); }
  .tu-v7-theo-figure img { max-height: 320px; }
  .tu-v7-cost-punch { min-height: 320px; padding: 30px; }
  .tu-v7-receipt-row { gap: 12px; padding: 12px 15px; }
  .tu-v7-receipt-head { padding: 13px 15px; }
  .tu-v7-receipt-row b { font-size: 12px; }
  .tu-v7-trial { padding: 70px 0; }
  .tu-v7-trial-stats { grid-template-columns: repeat(3,1fr); width: 100%; margin: 34px 0 28px; }
  .tu-v7-trial-stats > div { padding: 0 8px; }
  .tu-v7-trial-stats strong { font-size: 34px; }
  .tu-v7-trial-stats span { font-size: 8px; }
}

@media (max-width: 480px) {
  .tu-v7-home .tu-profession-link-grid { grid-template-columns: 1fr; }
}
