:root {
  --green: #5da078;
  --green-dark: #176c46;
  --green-deep: #07593d;
  --green-soft: #e8f7ef;
  --blue: #84adf7;
  --blue-soft: #eaf3ff;
  --coral: #f45656;
  --coral-soft: #fff0ec;
  --yellow: #f4f05b;
  --yellow-soft: #fff9d9;
  --ink: #07111f;
  --muted: #536783;
  --line: #dbe4ea;
  --surface: #ffffff;
  --shadow: 0 20px 50px rgba(38, 73, 58, .12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: min(94vw, 1560px);
  --pointer-x: 0px;
  --pointer-y: 0px;
  --scroll-shift: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f7fbf9;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #1b72e8; outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; background: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }
.container { width: var(--container); margin-inline: auto; position: relative; z-index: 2; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 116px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: height .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { height: 86px; border-color: rgba(20,80,54,.1); box-shadow: 0 12px 35px rgba(41, 73, 61, .09); }
.header-inner { height: 100%; display: grid; grid-template-columns: 360px 1fr auto; align-items: center; gap: 28px; }
.brand { align-self: start; width: 300px; height: 220px; pointer-events: auto; }
.brand img:not(.tc-icon) { width: 295px; height: auto; }
.site-header.is-scrolled .brand { width: 124px; height: 80px; overflow: visible; align-self: center; display: flex; align-items: center; }
.site-header.is-scrolled .brand img:not(.tc-icon) { width: 124px; transform: none; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3vw, 58px); font-weight: 650; font-size: 1.05rem; }
.main-nav a, .header-actions button { transition: color .2s ease, transform .2s ease; }
.main-nav a:hover, .header-actions button:hover { color: var(--green-dark); transform: translateY(-2px); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions button { border: 0; background: transparent; cursor: pointer; }
.icon-link { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.icon-link svg, .cart-link svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-link { border-left: 1px solid var(--line) !important; padding-left: 24px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 14px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

main { position: relative; overflow: clip; background: linear-gradient(180deg, #fbfdfc 0%, #f7fbff 28%, #fffdf8 52%, #f6fbf8 76%, #f4f8f7 100%); }
main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 760px at -8% 8%, rgba(93,160,120,.20), transparent 64%),
    radial-gradient(820px 700px at 108% 21%, rgba(132,173,247,.19), transparent 62%),
    radial-gradient(840px 720px at -7% 44%, rgba(244,240,91,.11), transparent 66%),
    radial-gradient(900px 760px at 108% 67%, rgba(244,86,86,.09), transparent 64%),
    radial-gradient(980px 760px at 8% 91%, rgba(93,160,120,.16), transparent 65%);
}
main::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -15%;
  top: 14%;
  width: 130%;
  height: 72%;
  pointer-events: none;
  opacity: .46;
  filter: blur(75px);
  background: linear-gradient(155deg, transparent 8%, rgba(132,173,247,.13) 29%, rgba(93,160,120,.12) 50%, rgba(244,240,91,.10) 71%, transparent 91%);
  transform: translate3d(0, var(--scroll-shift), 0) rotate(-3deg);
}

.section {
  min-height: 100svh;
  position: relative;
  overflow: clip;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  isolation: isolate;
  background: transparent;
}
.section::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%; right: 8%; bottom: -115px;
  height: 230px;
  border-radius: 50%;
  opacity: .52;
  filter: blur(38px);
  background: radial-gradient(ellipse at center, rgba(132,173,247,.16), rgba(93,160,120,.10) 42%, transparent 74%);
}
.section:nth-of-type(even)::after { background: radial-gradient(ellipse at center, rgba(244,240,91,.12), rgba(244,86,86,.07) 42%, transparent 74%); }
.section-heading { text-align: center; max-width: 1100px; margin: 0 auto 48px; }
.section-heading h2 { margin: 0 0 8px; font-size: clamp(2.2rem, 4.2vw, 4.4rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.55rem); }
.decor { position: absolute; z-index: 0; pointer-events: none; transform: translate3d(calc(var(--pointer-x) * .22), calc(var(--pointer-y) * .22), 0); transition: transform .2s ease-out; }
.decor--dots { width: 140px; height: 110px; right: 5%; top: 13%; opacity: .38; background-image: radial-gradient(var(--blue) 3px, transparent 3px); background-size: 22px 22px; }
.decor--ring { width: 280px; height: 280px; left: -120px; top: 10%; border: 3px solid rgba(93,160,120,.16); border-radius: 50%; box-shadow: 0 0 0 45px rgba(93,160,120,.06); }

.hero { padding-top: 180px; }
.hero-grid { display: grid; grid-template-columns: minmax(550px, .9fr) minmax(620px, 1.1fr); align-items: center; gap: clamp(28px, 2.4vw, 48px); }
.eyebrow { margin: 0 0 30px; text-transform: uppercase; color: var(--green-dark); font-weight: 850; letter-spacing: .03em; font-size: clamp(.95rem, 1.3vw, 1.28rem); }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(3.2rem, 3.8vw, 4.5rem); line-height: .98; letter-spacing: -.055em; }
.hero-line { white-space: nowrap; }
.hero-lead { max-width: 720px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.25rem, 1.75vw, 1.72rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button-row--compact { margin-top: 24px; }
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 760;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button span[aria-hidden="true"] { font-size: 1.5em; transition: transform .2s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23,108,70,.2); }
.button:hover span[aria-hidden="true"] { transform: translateX(4px); }
.button--primary { color: #fff; background: linear-gradient(135deg, var(--green-dark), #087d51); }
.button--secondary { color: var(--ink); background: rgba(255,255,255,.88); border-color: #8390a0; }
.button--small { min-height: 52px; padding: 0 22px; }
.play-icon { width: 34px; height: 34px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: .72rem !important; }

.hero-visual { position: relative; padding-top: 20px; }
.dashboard-orbit { position: absolute; inset: -60px -100px -60px 40%; border-radius: 50%; background: radial-gradient(circle at 45% 45%, rgba(124,209,158,.32), rgba(93,160,120,.86) 68%, transparent 68.5%); }
.dashboard-stage { margin: 0; position: relative; overflow: hidden; border: 10px solid rgba(255,255,255,.78); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .15s ease-out; }
.demo-screen { position: relative; aspect-ratio: 1.72; overflow: hidden; background: #f6faf8; }
.demo-screen.is-active { animation: panel-enter .55s cubic-bezier(.2,.82,.2,1) both; }
.demo-screen > img:not(.tc-icon) { width: 100%; height: 100%; object-fit: cover; }
@keyframes panel-enter { from { opacity: 0; transform: translateX(28px) scale(.985); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }

.mini-app { width: 100%; height: 100%; display: grid; grid-template-columns: 58px 1fr; color: #253445; background: #f6f9fb; font-size: clamp(.5rem, .72vw, .72rem); }
.mini-sidebar { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 15px 10px; background: #fff; border-right: 1px solid #e5ebef; }
.mini-sidebar i { width: 24px; height: 24px; border-radius: 8px; background: #e8eef2; }
.mini-sidebar i.is-current { background: #d7f2e4; box-shadow: inset 3px 0 #168158; }
.mini-brand { width: 29px; height: 17px; margin-bottom: 5px; background: linear-gradient(90deg, #84adf7 0 31%, #f4f05b 31% 49%, #f45656 49% 72%, #5da078 72%); border-radius: 7px 2px 2px 7px; }
.mini-workspace { min-width: 0; padding: 16px 18px; }
.mini-topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.mini-topbar div { display: grid; }
.mini-topbar small { color: #7a8898; }
.mini-topbar strong { color: #132030; font-size: 1.5em; letter-spacing: -.025em; }
.mini-topbar button { min-height: 30px; padding: 0 13px; border: 0; border-radius: 8px; color: #fff; background: #138357; font-weight: 750; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 13px; }
.mini-stats > div { display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; padding: 10px; border: 1px solid #e3e9ed; border-radius: 10px; background: #fff; }
.mini-stats span { grid-column: 1 / -1; color: #768597; }
.mini-stats strong { font-size: 1.65em; color: #142231; }
.mini-stats em { align-self: center; color: #138357; font-style: normal; font-weight: 700; }
.mini-stats em.is-warn { color: #e35b3c; }
.mini-table { overflow: hidden; border: 1px solid #e4e9ed; border-radius: 10px; background: #fff; }
.mini-row { min-height: 38px; display: grid; grid-template-columns: 1.35fr 1fr .85fr .75fr; align-items: center; gap: 8px; padding: 6px 10px; border-top: 1px solid #edf1f3; }
.mini-row--head { min-height: 28px; border-top: 0; color: #708093; background: #f5f8fa; font-weight: 700; }
.mini-row span:first-child { display: flex; align-items: center; gap: 6px; }
.mini-row b { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; color: #176c46; background: #e3f4eb; font-size: .8em; }
.mini-tag { width: max-content; padding: 4px 7px; border-radius: 6px; font-weight: 750; }
.mini-tag--ok { color: #08764b; background: #e1f6ea; }
.mini-tag--warn { color: #bd4c30; background: #ffebe6; }
.mini-tag--blue { color: #2167ba; background: #e6f0ff; }

.training-layout { display: grid; grid-template-columns: 1.65fr .65fr; gap: 10px; margin-bottom: 12px; }
.course-feature { min-height: 110px; display: grid; grid-template-columns: 36% 1fr; align-items: center; gap: 12px; padding: 13px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #0d5f47, #2d9a6d); }
.course-play { width: 58px; height: 58px; display: grid; place-items: center; justify-self: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(255,255,255,.13); font-size: 1.5em; }
.course-feature div { display: grid; gap: 3px; }
.course-feature strong { font-size: 1.25em; }
.course-feature p { margin: 0; opacity: .8; }
.progress-track { height: 6px; margin-top: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.25); }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: #fff; }
.training-summary { display: grid; place-items: center; align-content: center; border: 1px solid #e1e8eb; border-radius: 12px; background: #fff; }
.training-summary span, .training-summary small { color: #758597; }
.training-summary strong { color: #176c46; font-size: 2.4em; }
.course-list { display: grid; gap: 7px; }
.course-list > div { min-height: 46px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid #e4e9ed; border-radius: 10px; background: #fff; }
.course-list p { display: grid; margin: 0; }
.course-list small { color: #788798; }
.course-list em { color: #176c46; font-style: normal; font-weight: 800; }
.course-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #0d7c50; background: #e2f5eb; font-weight: 900; }
.course-icon--blue { color: #246cc5; background: #e5efff; }
.course-icon--yellow { color: #8f7100; background: #fff5bd; }
.dashboard-status { position: absolute; right: 28px; bottom: 24px; padding: 9px 14px; color: #fff; background: rgba(7,89,61,.86); border-radius: 999px; font-size: .82rem; backdrop-filter: blur(8px); }
.demo-tabs { position: relative; display: flex; gap: 10px; justify-content: center; margin: 18px auto 0; }
.demo-tabs button { border: 1px solid var(--line); background: rgba(255,255,255,.94); color: var(--muted); padding: 14px 24px; border-radius: 12px; font-weight: 750; cursor: pointer; box-shadow: 0 10px 30px rgba(54,75,65,.08); }
.demo-tabs button.is-active { color: var(--ink); border-color: #b8e0c8; background: var(--green-soft); }

.cards-grid { display: grid; gap: 24px; }
.cards-grid--three { grid-template-columns: repeat(3, 1fr); }
.cards-grid--two { grid-template-columns: repeat(2, 1fr); }
.cards-grid--four { grid-template-columns: repeat(4, 1fr); }
.feature-card, .resource-card, .plan-card, .about-card { position: relative; border: 1px solid var(--line); background: rgba(255,255,255,.94); box-shadow: 0 14px 45px rgba(49,75,63,.08); transition: transform .15s ease-out, box-shadow .25s ease; transform-style: preserve-3d; }
.feature-card:hover, .resource-card:hover, .plan-card:hover, .about-card:hover { box-shadow: 0 24px 58px rgba(42,78,62,.16); }
.feature-card { border-radius: var(--radius-md); overflow: hidden; min-height: 580px; display: flex; flex-direction: column; }
.feature-media { aspect-ratio: 1.6; overflow: hidden; }
.feature-media img:not(.tc-icon) { width: 100%; height: 100%; object-fit: cover; }
.feature-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px; }
.feature-body h3, .resource-card h3, .plan-card h3, .about-card h3 { margin: 0 0 10px; font-size: clamp(1.55rem, 2vw, 2.2rem); line-height: 1.12; letter-spacing: -.025em; }
.feature-body p, .resource-card p, .plan-card p, .about-card p { margin: 0; color: var(--muted); font-size: 1.16rem; }
.feature-body .button { margin-top: auto; }

.resource-card, .plan-card { min-height: 470px; border-radius: var(--radius-lg); padding: 30px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 22px; }
.resource-card--blue, .plan-card--blue { background: linear-gradient(135deg, #f4f9ff, var(--blue-soft)); }
.resource-card--coral, .plan-card--coral { background: linear-gradient(135deg, #fff8f5, var(--coral-soft)); }
.resource-card img:not(.tc-icon), .plan-card img:not(.tc-icon) { width: 100%; max-height: 355px; object-fit: contain; border-radius: 18px; filter: drop-shadow(0 15px 25px rgba(46,70,60,.12)); }
.resource-image--courses { clip-path: inset(0 0 12% 0 round 18px); transform: scale(1.05); transform-origin: top center; }
.resource-image--material { clip-path: inset(0 0 0 11% round 18px); transform: scale(1.1); transform-origin: right center; }
.plan-image--material { clip-path: inset(0 0 0 13% round 18px); transform: scale(1.12); transform-origin: right center; }
.resource-copy, .plan-copy { display: flex; flex-direction: column; align-items: flex-start; }
.resource-card h3, .plan-card h3 { font-size: clamp(1.5rem, 1.7vw, 1.9rem); }
.resource-card .button-row { width: 100%; flex-direction: column; }
.resource-card .button-row .button { width: 100%; }
.round-icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 24px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 12px 26px rgba(33,69,53,.10); }
.round-icon--blue { color: #115fd1; background: rgba(132,173,247,.24); }
.round-icon--coral { color: #d81f29; background: rgba(244,86,86,.17); }
.semantic-icon { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.resource-copy .button, .plan-copy .button { margin-top: 28px; }

.contact-band { margin-top: 28px; min-height: 150px; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 30px 48px; background: linear-gradient(100deg, rgba(232,247,239,.96), rgba(231,247,244,.82)); border: 1px solid #cfeade; border-radius: var(--radius-lg); box-shadow: 0 18px 42px rgba(50,94,75,.09); }
.contact-band h3 { margin: 0 0 3px; font-size: clamp(1.7rem, 2.6vw, 2.65rem); letter-spacing: -.035em; }
.contact-band p { margin: 0; color: var(--muted); font-size: 1.18rem; }
.chat-mark { width: 88px; height: 64px; border-radius: 50%; background: var(--green-dark); display: flex; align-items: center; justify-content: center; gap: 7px; box-shadow: 22px 16px 0 -7px rgba(132,173,247,.28); }
.chat-mark span { width: 8px; height: 8px; border-radius: 50%; background: #fff; }

.about-card { min-height: 172px; border-radius: 22px; padding: 22px; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 17px; overflow: hidden; box-shadow: 0 12px 34px rgba(45,73,61,.07); }
.about-card--mint { background: linear-gradient(140deg, #f3fff8, #e5f7ef); }
.about-card--blue { background: linear-gradient(140deg, #f6faff, #e7f1ff); }
.about-card--yellow { background: linear-gradient(140deg, #fffdf0, #fff6c8); }
.about-card--coral { background: linear-gradient(140deg, #fff8f6, #ffe8e4); }
.about-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: var(--green-dark); background: rgba(255,255,255,.64); }
.about-icon .semantic-icon { width: 30px; height: 30px; }
.about-card h3 { margin-bottom: 5px; font-size: clamp(1.2rem, 1.45vw, 1.55rem); }
.about-card p { min-height: 0; font-size: .98rem; line-height: 1.45; }
.text-link { width: auto; min-height: auto; margin-top: 11px; padding: 0; border: 0; background: transparent; color: var(--green-deep); font-weight: 780; cursor: pointer; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section--about { padding-bottom: 0; align-items: flex-end; flex-direction: column; justify-content: flex-end; }
.section--about > .container { padding-block: 78px 68px; }
.site-footer { width: 100%; position: relative; z-index: 2; color: #fff; background: linear-gradient(135deg, #061d19, #0a352d 58%, #092821); padding: 64px 0 24px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 760px; height: 390px; border-radius: 50%; right: -270px; bottom: -280px; background: rgba(93,160,120,.12); filter: blur(2px); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(4, .72fr); gap: 44px; }
.footer-logo-lockup { width: 238px; display: flex; align-items: flex-start; overflow: visible; }
.footer-logo-lockup img:not(.tc-icon) { width: 218px; filter: drop-shadow(0 10px 22px rgba(0,0,0,.18)); }
.footer-brand p { max-width: 320px; color: rgba(255,255,255,.68); font-size: .88rem; }
.site-footer h3 { margin: 0 0 16px; font-size: 1.05rem; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer a, .site-footer nav button { padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.85); cursor: pointer; text-align: left; }
.site-footer a:hover, .site-footer nav button:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.8); font-size: .9rem; }
.footer-bottom p { margin: 0; }

.floating-chat { position: fixed; z-index: 122; right: 26px; bottom: 24px; width: 66px; height: 66px; border: 3px solid #fff; border-radius: 50%; background: #11885b; color: #fff; box-shadow: 0 14px 30px rgba(5,89,61,.28); font-weight: 900; font-size: 1.3rem; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.floating-chat:hover { transform: translateY(-4px) scale(1.03); }
.floating-chat[aria-expanded="true"] { background: #092f27; }

.chat-panel { position: fixed; z-index: 121; right: 24px; bottom: 102px; width: min(390px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 135px)); display: grid; grid-template-rows: auto 1fr auto; border: 1px solid rgba(93,160,120,.28); border-radius: 24px; background: rgba(255,255,255,.98); box-shadow: 0 28px 80px rgba(7,43,33,.28); overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0, 24px, 0) scale(.94); transform-origin: bottom right; transition: opacity .26s ease, transform .34s cubic-bezier(.2,.8,.2,1), visibility .34s; }
.chat-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.chat-panel__header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 18px; color: #fff; background: linear-gradient(135deg, #0b4437, #116c50); }
.chat-avatar { width: 43px; height: 43px; border-radius: 15px; display: flex; align-items: center; justify-content: center; gap: 4px; background: rgba(255,255,255,.14); }
.chat-avatar span { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.chat-kicker { margin: 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; opacity: .72; }
.chat-panel h2 { margin: 1px 0 0; font-size: 1.08rem; letter-spacing: -.015em; }
.chat-close { width: 36px; height: 36px; border: 0; border-radius: 12px; color: #fff; background: rgba(255,255,255,.12); font-size: 1.5rem; cursor: pointer; }
.chat-panel__body { overflow: auto; padding: 20px; background: linear-gradient(180deg, #f3f9f6, #fff); }
.chat-bubble { max-width: 88%; margin: 0 0 12px; padding: 12px 14px; border-radius: 6px 17px 17px; background: #fff; border: 1px solid #dceae3; box-shadow: 0 8px 20px rgba(42,76,61,.07); font-size: .92rem; }
.chat-disclaimer { margin: 18px 0 0; color: var(--muted); font-size: .76rem; }
.chat-composer { margin: 12px; min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding-left: 15px; border: 1px solid var(--line); border-radius: 15px; color: #78879a; background: #fff; font-size: .88rem; }
.chat-composer button { width: 40px; height: 40px; margin-right: 4px; border: 0; border-radius: 12px; color: #fff; background: var(--green-dark); font-size: 1.25rem; cursor: pointer; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translate(-50%, 30px); max-width: min(90vw, 560px); padding: 14px 20px; border-radius: 12px; background: #07111f; color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.site-dialog { width: min(92vw, 900px); padding: 0; border: 0; border-radius: 24px; background: transparent; color: var(--ink); }
.site-dialog::backdrop { background: rgba(4,15,10,.62); backdrop-filter: blur(6px); }
.dialog-shell { position: relative; padding: 42px; background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.dialog-shell h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.04em; }
.dialog-shell > p:not(.eyebrow) { color: var(--muted); }
.dialog-shell img:not(.tc-icon) { width: 100%; margin-top: 24px; border: 1px solid var(--line); border-radius: 18px; }
.dialog-close { position: absolute; right: 18px; top: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #eef4f0; font-size: 1.8rem; cursor: pointer; }
.dialog-note { font-size: .9rem; }

.js .reveal { --reveal-x: 0px; --reveal-y: 74px; --reveal-scale: .96; opacity: 0; filter: blur(10px); transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale)); will-change: opacity, transform, filter; }
.js .reveal[data-reveal="left"] { --reveal-x: -120px; --reveal-y: 22px; }
.js .reveal[data-reveal="right"] { --reveal-x: 120px; --reveal-y: 22px; }
.js .reveal[data-reveal="scale"] { --reveal-y: 28px; --reveal-scale: .84; }
.js .reveal.is-visible { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) scale(1); transition: opacity .85s ease, transform 1s cubic-bezier(.16,.85,.2,1), filter .75s ease; transition-delay: var(--delay, 0ms); }

@media (max-width: 1240px) {
  .header-inner { grid-template-columns: 260px 1fr auto; }
  .brand, .brand img:not(.tc-icon) { width: 230px; }
  .main-nav { gap: 24px; }
  .hero-grid { grid-template-columns: .9fr 1.1fr; }
  .cards-grid--four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .site-header { height: 88px; }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .brand, .site-header.is-scrolled .brand { width: 118px; height: 78px; align-self: center; overflow: visible; display: flex; align-items: center; }
  .brand img:not(.tc-icon), .site-header.is-scrolled .brand img:not(.tc-icon) { width: 118px; }
  .menu-toggle { display: flex; order: 3; }
  .main-nav { display: none; position: absolute; top: 78px; right: 3vw; width: min(90vw, 360px); padding: 20px; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .header-actions { justify-self: end; }
  .icon-link span { display: none; }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero h1 br { display: none; }
  .hero-line { white-space: normal; }
  .hero-visual { max-width: 820px; margin-inline: auto; }
  .cards-grid--three { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; }
  .resource-card, .plan-card { grid-template-columns: 1fr; }
  .resource-card img:not(.tc-icon), .plan-card img:not(.tc-icon) { max-height: 300px; }
  .contact-band { grid-template-columns: auto 1fr; }
  .contact-band .button { grid-column: 1 / -1; justify-self: stretch; }
}

@media (max-width: 680px) {
  :root { --container: min(92vw, 620px); }
  .section { min-height: auto; padding: 105px 0 90px; }
  .hero { padding-top: 118px; }
  .header-actions { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { grid-column: 2; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.2rem); }
  .button-row, .button { width: 100%; }
  .button { min-height: 54px; }
  .demo-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .demo-tabs button { padding: 12px 8px; font-size: .82rem; }
  .dashboard-status { position: static; margin: 10px; text-align: center; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .cards-grid--three, .cards-grid--two, .cards-grid--four { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .resource-card, .plan-card { min-height: 0; padding: 24px; }
  .resource-card img:not(.tc-icon), .plan-card img:not(.tc-icon) { order: -1; }
  .contact-band { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
  .chat-mark { margin-inline: auto; }
  .about-card { min-height: 0; padding: 19px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-logo-lockup { width: 190px; }
  .footer-logo-lockup img:not(.tc-icon) { width: 180px; }
  .floating-chat { width: 58px; height: 58px; right: 16px; bottom: 16px; }
  .chat-panel { right: 12px; bottom: 84px; width: calc(100vw - 24px); max-height: calc(100vh - 110px); border-radius: 20px; }
  .dialog-shell { padding: 34px 22px 24px; }
}

/* Revisión 3: un único lienzo decorativo y geometría estable del encabezado. */
main { isolation: isolate; background: #fcfefd; }
main::after, .section::after, .decor { display: none; }
.section { overflow: visible; isolation: auto; background: transparent; }
.continuous-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.continuous-art > span { position: absolute; display: block; transform: translate3d(calc(var(--pointer-x) * .7), calc(var(--pointer-y) * .7), 0); transition: transform .8s ease-out; }
.art-ring { width: 480px; height: 480px; border: 2px solid rgba(93,160,120,.17); border-radius: 50%; box-shadow: 0 0 0 42px rgba(93,160,120,.055), 0 0 0 90px rgba(93,160,120,.035); }
.ring-one { top: 650px; left: -285px; }
.ring-two { top: 43%; right: -300px; width: 600px; height: 600px; border-color: rgba(132,173,247,.2); }
.ring-three { top: 74%; left: -330px; width: 570px; height: 570px; }
.art-circle { border-radius: 50%; width: 450px; height: 450px; background: rgba(132,173,247,.095); }
.circle-one { top: 16%; right: -280px; }
.circle-two { top: 48%; left: -320px; width: 560px; height: 560px; background: rgba(244,240,91,.09); }
.circle-three { top: 77%; right: -290px; background: rgba(244,86,86,.055); }
.art-dots { width: 170px; height: 170px; background-image: radial-gradient(rgba(132,173,247,.28) 2.5px, transparent 3px); background-size: 22px 22px; }
.dots-one { top: 840px; right: 4%; }
.dots-two { top: 46%; left: 3%; }
.dots-three { top: 78%; right: 5%; }
.site-header { height: 152px; transition: height .65s cubic-bezier(.22,1,.36,1), background .65s ease, box-shadow .65s ease; }
.site-header.is-scrolled { height: 92px; }
.header-inner { grid-template-columns: 310px 1fr auto; }
.brand, .site-header.is-scrolled .brand { align-self: start; display: block; width: 200px; height: 122px; margin-top: 20px; overflow: visible; transition: width .65s cubic-bezier(.22,1,.36,1), height .65s cubic-bezier(.22,1,.36,1), margin .65s cubic-bezier(.22,1,.36,1); }
.brand img:not(.tc-icon), .site-header.is-scrolled .brand img:not(.tc-icon) { width: 100%; height: auto; transform: none; }
.site-header.is-scrolled .brand { width: 108px; height: 67px; margin-top: 12px; }
.hero { padding-top: 205px; }
.section:not(.hero) { scroll-margin-top: 92px; padding-top: 38px; padding-bottom: 62px; }
.section--solutions { min-height: calc(100svh - 92px); }
.section--solutions .section-heading { margin-bottom: 30px; }
.section--solutions .section-heading h2 { font-size: clamp(2.2rem,3.65vw,3.75rem); }
.section--solutions .feature-card { min-height: 480px; }
.section--solutions .feature-media { aspect-ratio: 1.85; }
.section--solutions .feature-media img:not(.tc-icon) { object-fit: contain; }
.section--solutions .feature-body { padding: 22px 26px; }
.section--solutions .feature-body p { font-size: 1.05rem; }
.section--solutions .feature-body .button { margin-top: 24px; }
.section--about { padding-bottom: 0 !important; }
.mini-app { grid-template-columns: 112px 1fr; }
.mini-sidebar { align-items: stretch; gap: 10px; padding: 18px 7px; }
.mini-sidebar .mini-official-mark { width: 54px; height: auto; margin: 0 0 13px 10px; border-radius: 0; }
.mini-sidebar > span { white-space: nowrap; padding: 8px 6px; border-radius: 6px; color: #536783; }
.mini-sidebar > span.is-current { background: #e1f4e9; color: #176c46; font-weight: 750; }
.demo-screen { container-type: inline-size; }
.mini-app { font-size: clamp(7px,1.5cqw,12px); }
.mini-topbar button { font-size: .85em; }
.js .reveal { transition: opacity .7s ease, transform 1s cubic-bezier(.16,.85,.2,1), filter .7s ease; }
.section--resources { min-height: calc(100svh - 92px); }
.section--resources .section-heading { margin-bottom: 34px; }
.section--resources .section-heading h2 { font-size: clamp(2.2rem,3.65vw,3.75rem); }
.resource-card, .plan-card { overflow: visible; gap: 26px; }
.resource-card { min-height: 420px; }
.resource-card img:not(.tc-icon), .plan-card img:not(.tc-icon) { width: calc(100% + 28px); max-width: none; height: auto; max-height: none; object-fit: contain; border-radius: 0; clip-path: none; transform: translateX(3px); filter: drop-shadow(0 10px 14px rgba(46,70,60,.08)); }
.resource-copy, .plan-copy { position: relative; z-index: 1; min-width: 0; }
.resource-card .button-row { gap: 12px; margin-top: 24px; }
.resource-card .button-row .button { margin-top: 0; }
.resource-card:focus { outline: 2px solid rgba(93,160,120,.5); outline-offset: 5px; }
@media (min-width: 961px) and (max-height: 800px) {
  .section:not(.hero) { padding-top: 28px; padding-bottom: 34px; }
  .section--solutions .feature-card { min-height: 425px; }
  .section--solutions .section-heading, .section--resources .section-heading { margin-bottom: 22px; }
  .section--solutions .section-heading h2, .section--resources .section-heading h2 { font-size: 2.7rem; }
  .section--solutions .feature-body { padding: 18px 22px; }
  .section--solutions .feature-body h3 { font-size: 1.65rem; }
  .section--solutions .feature-body .button { margin-top: 18px; }
  .resource-card { min-height: 390px; padding: 24px; }
}
@media (max-width: 1240px) and (min-width: 961px) { .header-inner { grid-template-columns: 240px 1fr auto; } }
@media (max-width: 960px) {
  .site-header, .site-header.is-scrolled { height: 100px; }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .brand, .site-header.is-scrolled .brand { width: 116px; height: 72px; margin-top: 14px; }
  .hero { padding-top: 145px; }
  .section:not(.hero) { scroll-margin-top: 100px; }
  .resource-card img:not(.tc-icon), .plan-card img:not(.tc-icon) { width: 100%; max-width: 430px; max-height: 300px; justify-self: center; transform: translateY(-8px); }
}
@media (max-width: 680px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .section:not(.hero) { padding-top: 35px; padding-bottom: 50px; }
  .mini-app { grid-template-columns: 74px 1fr; }
  .mini-sidebar { padding: 12px 3px; gap: 4px; }
  .mini-sidebar .mini-official-mark { width: 39px; margin-left: 7px; }
  .mini-workspace { padding: 10px 8px; }
  .mini-topbar { gap: 5px; }
  .mini-topbar strong { font-size: 1.15em; }
  .mini-topbar button { padding: 4px; min-height: 22px; }
  .demo-screen { aspect-ratio: auto; min-height: 300px; }
  .demo-screen > img:not(.tc-icon) { height: auto; }
  .mini-app { min-height: 300px; }
  .mini-row { grid-template-columns: 1.2fr 1fr .8fr; padding: 5px; gap: 3px; }
  .mini-row > span:nth-child(3) { display: none; }
  .mini-stats { gap: 4px; }
  .mini-stats > div { padding: 6px; }
  .mini-stats em { grid-column: 1 / -1; }
  .training-layout { grid-template-columns: 1fr; }
  .training-summary { display: none; }
  .course-feature { min-height: 95px; }
  .course-play { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; filter: none; transform: none; }
}

