/*
 * Thera-UP homepage 5.0.2
 * Dense layout, stronger typography and a dedicated Theo showcase.
 * Loaded after all legacy homepage styles to guarantee the real visual result.
 */

:root{
  --tu502-ink:#172038;
  --tu502-muted:#566078;
  --tu502-violet:#6350eb;
  --tu502-violet-dark:#4d39d3;
  --tu502-cyan:#35c5dd;
  --tu502-green:#1fa978;
  --tu502-soft:#f1f3fc;
  --tu502-line:#dfe3ef;
  --tu502-night:#112247;
}

html{scroll-padding-top:92px}
body{font-size:16px;color:var(--tu502-ink)}
.tu-container{width:min(1320px,calc(100% - 48px))}
.tu-hp p,.tu-hp li{line-height:1.62}
.tu-hp a:focus-visible,.tu-hp button:focus-visible,.tu-hp summary:focus-visible{outline:3px solid rgba(53,197,221,.42);outline-offset:3px}

/* Header */
.tu-header__inner{min-height:72px}
.tu-header .custom-logo{max-height:54px}
.tu-header__nav a{font-size:.95rem}
.tu-header .tu-button{min-height:48px;padding:0 20px}

/* Global section rhythm. The validated .tu-hp-ready block keeps its own rhythm. */
.tu-hp-section:not(.tu-hp-ready){padding:46px 0}
.tu-hp-heading{max-width:900px;margin:0 auto 26px}
.tu-hp-heading h2{margin:0 0 8px;font-size:clamp(1.85rem,2.5vw,2.7rem);line-height:1.12;letter-spacing:-.025em}
.tu-hp-heading p{font-size:1.04rem;color:var(--tu502-muted)}
.tu-hp-kicker{margin-bottom:12px;font-size:.82rem;letter-spacing:.14em}
.tu-hp-button{min-height:48px;padding:0 21px;border-radius:9px;font-size:.95rem}
.tu-hp-button--secondary{border-color:var(--tu502-violet);background:var(--tu502-violet);color:#fff}
.tu-hp-center-action{margin-top:22px}

/* Hero */
.tu-hp-hero{padding:42px 0 38px;min-height:0;background:linear-gradient(135deg,#f5f6ff 0%,#f5f7ff 58%,#edfaff 100%)}
.tu-hp-hero__grid{grid-template-columns:minmax(0,1.08fr) minmax(390px,.82fr);gap:48px;align-items:center}
.tu-hp-hero__copy{max-width:720px}
.tu-hp-hero h1{max-width:690px;margin:0 0 10px;font-size:clamp(2.55rem,4vw,4.35rem);line-height:1.03;letter-spacing:-.045em}
.tu-hp-hero__subtitle{margin:0 0 14px;font-size:clamp(1.18rem,1.7vw,1.48rem);color:var(--tu502-violet-dark);font-weight:600}
.tu-hp-hero__lead{max-width:700px;margin:0 0 20px;font-size:1.04rem;color:var(--tu502-muted)}
.tu-hp-actions{gap:14px}
.tu-hp-trust{display:flex;flex-wrap:wrap;gap:9px 24px;margin-top:16px}
.tu-hp-trust li{font-size:.9rem}
.tu-hp-professions{margin:14px 0 0;font-size:.9rem;color:#69738a}
.tu-hp-cycle{width:min(100%,430px);justify-self:center}
.tu-hp-cycle__center img{max-height:270px;width:auto}
.tu-hp-cycle__center strong{font-size:.78rem}
.tu-hp-cycle__node{width:126px;padding:10px 11px;border-radius:13px}
.tu-hp-cycle__node span{width:32px;height:32px;margin-top:-24px;margin-bottom:5px}
.tu-hp-cycle__node strong{font-size:.79rem}.tu-hp-cycle__node small{font-size:.71rem;line-height:1.3}

/* Main functions */
.tu-hp-simple{padding-top:42px!important}
.tu-hp-feature-grid{gap:18px}
.tu-hp-feature{display:flex;min-height:0;padding:24px;flex-direction:column;border-radius:14px}
.tu-hp-feature__icon{width:42px;height:42px;margin-bottom:13px}
.tu-hp-feature h3{margin:0 0 8px;font-size:1.18rem;line-height:1.25}
.tu-hp-feature p{margin:0 0 11px;font-size:.98rem;color:var(--tu502-muted)}
.tu-hp-feature>strong{margin:2px 0 0;font-size:.96rem;line-height:1.45}
.tu-hp-feature>a{position:static;align-self:flex-start;margin-top:16px;padding:9px 15px;border-radius:7px;font-size:.86rem}

/* Validated block: intentionally left structurally unchanged. */
.tu-hp-ready{padding:58px 0}

/* Client journey */
.tu-hp-flow__track{max-width:1080px;gap:14px 16px}
.tu-hp-flow__step,.tu-hp-flow__step:nth-of-type(even),.tu-hp-flow__step:nth-of-type(odd){padding:18px 20px 18px 62px;border-radius:12px;background:#f0f2fb}
.tu-hp-flow__number{top:17px}
.tu-hp-flow__step h3{font-size:1.05rem}.tu-hp-flow__step p{font-size:.94rem;color:var(--tu502-muted)}
.tu-hp-flow__result{max-width:760px;padding:13px 20px;margin-top:4px;border-width:1px;border-radius:12px}
.tu-hp-flow__result img{width:68px;height:68px}
.tu-hp-flow__result h3{font-size:1.04rem}.tu-hp-flow__result p{font-size:.94rem}

/* Theo showcase */
.tu-hp-theo{position:relative;overflow:hidden;background:linear-gradient(135deg,#0f2044 0%,#172e5b 62%,#173660 100%);color:#fff}
.tu-hp-theo:before{content:"";position:absolute;inset:auto -160px -250px auto;width:520px;height:520px;border:1px solid rgba(62,211,232,.18);border-radius:50%;box-shadow:0 0 0 80px rgba(99,80,235,.06),0 0 0 160px rgba(53,197,221,.04)}
.tu-hp-theo .tu-hp-heading h2{color:#fff}
.tu-hp-theo .tu-hp-heading p{color:rgba(255,255,255,.72)}
.tu-hp-theo-stage{position:relative;z-index:1;display:grid;grid-template-columns:minmax(360px,.82fr) minmax(0,1.18fr);gap:30px;align-items:stretch;max-width:1120px;margin:0 auto}
.tu-hp-theo-visual{position:relative;display:grid;min-height:390px;place-items:center;padding:22px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.055);overflow:hidden}
.tu-hp-theo-visual__halo{position:absolute;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(53,197,221,.27),rgba(99,80,235,.13) 48%,transparent 72%)}
.tu-hp-theo-visual>img{position:relative;z-index:1;max-width:220px;max-height:255px;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(0,0,0,.25))}
.tu-hp-theo-recommendation{position:relative;z-index:2;width:min(100%,390px);padding:15px 17px;border-radius:13px;background:#fff;color:var(--tu502-ink);box-shadow:0 18px 36px rgba(0,0,0,.18)}
.tu-hp-theo-recommendation small{display:block;margin-bottom:4px;color:var(--tu502-violet);font-size:.73rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.tu-hp-theo-recommendation strong{display:block;margin-bottom:5px;font-size:1rem}.tu-hp-theo-recommendation p{margin:0;font-size:.88rem;color:var(--tu502-muted)}
.tu-hp-theo-benefits{display:flex;flex-direction:column;justify-content:center;gap:12px}
.tu-hp-theo-benefits article{display:flex;gap:14px;padding:18px;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:rgba(255,255,255,.07)}
.tu-hp-theo-benefits article>span{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:10px;background:linear-gradient(135deg,var(--tu502-violet),var(--tu502-cyan));color:#fff}
.tu-hp-theo-benefits h3{margin:0 0 4px;color:#fff;font-size:1.04rem}.tu-hp-theo-benefits p{margin:0;color:rgba(255,255,255,.72);font-size:.92rem}
.tu-hp-theo-control{display:flex;align-items:center;gap:11px;padding:13px 16px;border-radius:11px;background:rgba(53,197,221,.12);color:#fff}
.tu-hp-theo-control svg{flex:0 0 auto}.tu-hp-theo-control p{margin:0;font-size:.91rem}
.tu-hp-theo-benefits>.tu-hp-button{align-self:flex-start;margin-top:2px}

/* Connected services */
.tu-hp-connected__grid{gap:13px}
.tu-hp-connected__card{min-height:0;padding:18px 19px;border:1px solid #e2e6f1;border-radius:12px;background:#f3f5fc}
.tu-hp-connected__card strong{margin-bottom:7px;font-size:1rem}.tu-hp-connected__card p{font-size:.91rem;color:var(--tu502-muted)}

/* Trial: compact conversion panel */
.tu-hp-demo{padding:42px 0!important;background:#fff}
.tu-hp-demo__grid{grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:24px;align-items:center;padding:30px 34px;border-radius:19px;background:linear-gradient(125deg,#eef0ff,#f4f7ff 55%,#eefcff);box-shadow:0 14px 35px rgba(31,43,83,.08)}
.tu-hp-demo__copy h2{margin:0 0 9px;font-size:clamp(1.8rem,2.5vw,2.55rem)}
.tu-hp-demo__copy p{max-width:760px;margin:0 0 18px;font-size:.98rem}
.tu-hp-demo__checklist{padding:20px 22px;background:#fff;border:1px solid var(--tu502-line)}
.tu-hp-demo__checklist h3{margin-bottom:12px;font-size:1.04rem}.tu-hp-demo__checklist ul{gap:8px}.tu-hp-demo__checklist li{font-size:.9rem}

/* Pricing and FAQ */
.tu-hp-pricing__grid{gap:18px}
.tu-hp-price{padding:25px;border-radius:14px}
.tu-hp-price>p{min-height:58px;font-size:.94rem}
.tu-hp-price__amount strong{font-size:2.35rem}
.tu-hp-price ul{gap:8px;margin:16px 0 20px}.tu-hp-price li{font-size:.91rem}
.tu-hp-pricing__more{margin-top:22px}
.tu-hp-faq__list{max-width:1040px}.tu-hp-faq details+details{margin-top:8px}.tu-hp-faq summary{padding:14px 18px}.tu-hp-faq details p{padding:0 18px 15px;font-size:.95rem}

/* Final CTA */
.tu-hp-final{padding:45px 0;background:linear-gradient(115deg,#4e37cf,#6851ed 60%,#4a35c8)}
.tu-hp-final__grid{grid-template-columns:minmax(0,1fr) 210px;gap:28px}
.tu-hp-final h2,.tu-hp-final__copy h2{margin:0 0 10px!important;color:#fff!important;font-size:clamp(1.9rem,2.65vw,2.75rem)!important}
.tu-hp-final p,.tu-hp-final__copy p{margin:0 0 18px!important;color:rgba(255,255,255,.88)!important;font-size:1rem}
.tu-hp-final__theo{width:175px;max-height:220px;object-fit:contain}
.tu-hp-final .tu-hp-button--dark-text{color:#fff;border-color:rgba(255,255,255,.35)}

@media(max-width:1050px){
  .tu-hp-hero__grid{grid-template-columns:1fr;gap:34px}.tu-hp-hero__copy{max-width:850px}.tu-hp-cycle{max-width:390px}
  .tu-hp-theo-stage{grid-template-columns:1fr}.tu-hp-theo-visual{min-height:350px}.tu-hp-demo__grid{grid-template-columns:1fr}
}
@media(max-width:780px){
  .tu-container{width:min(100% - 28px,1320px)}
  .tu-hp-section:not(.tu-hp-ready){padding:38px 0}
  .tu-hp-hero{padding:36px 0}.tu-hp-hero h1{font-size:clamp(2.35rem,10.5vw,3.45rem)}
  .tu-hp-cycle{max-width:350px}.tu-hp-cycle__node{width:108px}.tu-hp-cycle__node.node-b{right:-2%}.tu-hp-cycle__node.node-d{left:-2%}
  .tu-hp-flow__track{grid-template-columns:1fr}.tu-hp-flow__result{grid-column:auto}
  .tu-hp-theo-visual{min-height:320px;padding:17px}.tu-hp-theo-recommendation{padding:13px}.tu-hp-theo-benefits article{padding:15px}
  .tu-hp-connected__grid,.tu-hp-pricing__grid{grid-template-columns:1fr}
  .tu-hp-final__grid{grid-template-columns:1fr}.tu-hp-final__theo{justify-self:center}
}
@media(prefers-reduced-motion:reduce){.tu-hp-theo-visual__halo{animation:none}}
