.editorial {
  --paper:#f6f4ee; --ink:#1b1c17; --sub:#56564b; --line:#cfcdc2; --accent:#f3cf58;
  --accent-ink:#1b1c17; --highlight:#853828; --soft:#ebe8dd; --white:#fffdf7; --radius:5px;
  --wrap:1250px; --gutter:clamp(19px,5vw,78px);
}
.ed-wrap { width:min(calc(100% - 2 * var(--gutter)),var(--wrap)); margin-inline:auto; }
.ed-review { background:#23251e; color:#fffdf5; font-size:11px; font-weight:700; }
.ed-review > div,.ed-header > div,.ed-footer > div { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.ed-review > div { min-height:34px; }
.ed-review > div > span { letter-spacing:.12em; }
.ed-review a:hover,.ed-footer a:hover { text-decoration:underline; text-underline-offset:4px; }
.ed-header { border-bottom:1px solid var(--line); }
.ed-header > div { min-height:76px; }
.editorial .brand img { width:clamp(112px,12vw,151px); height:auto; }
.ed-header nav { gap:clamp(20px,4vw,54px); font-size:.87rem; }
.ed-nav { padding:8px 0 8px 11px; background:none; color:var(--ink); border:0; font-size:.88rem; font-weight:800; white-space:nowrap; }
.ed-nav span { margin-left:5px; }
.ed-nav:hover { text-decoration:underline; text-underline-offset:4px; }

.ed-hero { background:#181a14; color:#fffdf3; }
.ed-hero-grid { display:grid; min-height:clamp(500px,46vw,680px); }
.ed-hero-copy { align-self:center; min-width:0; padding:clamp(36px,6vw,90px) var(--gutter); }
.editorial .eyebrow { letter-spacing:.15em; }
.editorial .eyebrow span { width:17px; height:1px; }
.ed-hero .eyebrow,.ed-challenge .eyebrow { color:var(--accent); }
.ed-hero h1 { font-size:clamp(3.05rem,6.8vw,7.25rem); line-height:.93; letter-spacing:-.073em; word-spacing:.045em; margin:18px 0 23px; }
.ed-hero h1 span { color:var(--accent); }
.ed-lead { max-width:390px; color:#e4e1d6; font-size:clamp(.98rem,1.25vw,1.14rem); }
.ed-hero .actions { margin-top:26px; }
.editorial .btn { border-radius:2px; }
.ed-hero .btn { min-height:48px; padding:9px 13px; font-size:.85rem; }
.ed-hero .outline { color:#fffdf3; border-color:#8c8e80; }
.ed-hero .outline:hover { border-color:#fffdf3; }
.editorial .primary:hover { background:#ffe28a; }
.ed-film { position:relative; min-width:0; overflow:hidden; background:#373b29; }
.ed-frames { position:absolute; inset:0 0 52px; }
.ed-frames video { display:block; width:100%; height:100%; object-fit:cover; object-position:center 48%; background:#332522; }
.ed-film figcaption { position:absolute; inset:auto 0 0; display:flex; align-items:center; justify-content:space-between; gap:9px; min-height:52px; padding:5px clamp(11px,2.4vw,28px); background:#1a1c16; border-top:1px solid #55594a; font-size:.64rem; font-weight:800; letter-spacing:.1em; }
.film-dot { display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; background:var(--accent); }
.film-meta { color:#b8b8a9; padding-left:4px; }

.ed-trust { border-bottom:1px solid var(--line); }
.ed-trust .trust {
  width:min(calc(100% - 2 * var(--gutter)),var(--wrap));
  border:0; padding-block:19px 22px; text-align:left; justify-items:stretch; gap:clamp(16px,1.65vw,24px);
}
.ed-trust h2 { font-size:clamp(1.07rem,1.55vw,1.35rem); }
.ed-trust .trust > .text-link { display:none; }
.logo-marquee { --logo-width:max(130px,calc(min(100vw - 2 * var(--gutter),var(--wrap)) / 6)); position:relative; min-width:0; }
.logo-viewport { overflow-x:auto; }
.logo-marquee.is-running .logo-viewport { overflow:hidden; }
.logo-track { display:flex; width:max-content; background:var(--paper); }
.logo-marquee.is-running .logo-track { animation:logo-roll 35s linear infinite; }
.logo-marquee.is-running:is(:hover,:focus-within) .logo-track { animation-play-state:paused; }
.logo-track .logos { display:flex; flex:none; width:max-content; gap:0; }
.logo-track .logos[aria-hidden="true"] { display:none; }
.logo-marquee.is-running .logos[aria-hidden="true"] { display:flex; }
.logo-track .logos li {
  flex:0 0 var(--logo-width);
  padding:4px 13px; min-height:48px;
}
/* Use the green wordmark as the alpha channel to remove the opaque checkerboard. */
.logo-track .logo-sage { filter:url(#sage-wordmark); }
.logo-track .logo-intent { max-width:min(100%,154px); max-height:40px; }
@keyframes logo-roll { to { transform:translateX(-50%); } }

.ed-featured { padding-block:clamp(34px,5.5vw,69px); border-bottom:1px solid var(--line); }
.featured-head { display:flex; justify-content:space-between; align-items:end; gap:12px; margin-bottom:15px; }
.featured-head .eyebrow { margin-bottom:8px; }
.featured-head h2 { font-size:clamp(2.05rem,4.7vw,4.25rem); letter-spacing:-.057em; }
.featured-controls { display:flex; gap:7px; padding-bottom:2px; }
.featured-controls button {
  width:42px; height:42px; padding:0; color:var(--ink); background:none; border:1px solid var(--line);
  border-radius:50%; font-size:1.25rem; line-height:1;
}
.featured-controls button:hover:not(:disabled) { background:var(--accent); border-color:var(--accent); }
.featured-controls button:disabled { opacity:.36; cursor:default; }
.featured-track {
  display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory;
  overscroll-behavior-x:contain; padding-bottom:8px; scrollbar-color:#a5a395 transparent;
}
.featured-card {
  display:flex; flex-direction:column; flex:0 0 calc((100% - 28px) / 3); min-width:0;
  scroll-snap-align:start; background:#fffefa; border:1px solid #d9b74f;
  border-radius:12px; overflow:hidden;
}
.featured-art { display:block; width:100%; aspect-ratio:1.92; object-fit:cover; }
.featured-content {
  display:flex; flex:1; flex-direction:column; gap:10px;
  padding:clamp(11px,1.35vw,17px); min-width:0;
}
.featured-content header { flex:1; }
.featured-badge {
  display:inline-block; margin-bottom:6px; padding:3px 7px; border-radius:999px;
  color:#594800; background:#f5edcf; font-size:.65rem; font-weight:800;
  text-transform:uppercase; letter-spacing:.08em;
}
.featured-content h3 { font-size:clamp(1.16rem,2vw,1.58rem); line-height:1.1; letter-spacing:-.036em; }
.featured-desc { margin-top:5px; color:var(--sub); font-size:.88rem; line-height:1.4; }
.featured-price {
  display:grid; grid-template-columns:.85fr 1.15fr; gap:8px; margin:0; padding:7px 10px;
  border:1px solid #eadba0; border-radius:8px; background:#faf3db;
}
.featured-price > div + div { border-inline-start:1px solid #e3d399; padding-inline-start:9px; }
.featured-price dt,.featured-stats dt { color:var(--sub); font-size:.7rem; font-weight:700; }
.featured-price dd,.featured-stats dd { margin:0; color:var(--ink); font-weight:800; }
.featured-price dd { font-size:.84rem; line-height:1.2; }
.featured-price > div:first-child dd { font-size:1.32rem; }
.featured-start { color:var(--sub); font-size:.79rem; line-height:1.3; }
.featured-start strong { color:var(--ink); margin-inline-end:4px; }
.featured-stats {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:0;
  padding-block-start:7px; border-block-start:1px solid var(--line);
}
.featured-stats dd { font-size:.79rem; min-height:16px; line-height:1.3; }
.featured-meter { display:flex; align-items:center; gap:3px; min-height:16px; }
.featured-meter span { width:clamp(6px,1vw,12px); height:5px; border-radius:4px; background:#ded9cb; }
.featured-meter span.filled { background:#c29616; }
.featured-language-row { display:flex; align-items:center; gap:7px; color:var(--sub); font-size:.7rem; font-weight:700; }
.featured-languages { display:flex; flex-wrap:wrap; align-items:center; gap:3px; margin:0; padding:0; list-style:none; }
.featured-languages li { display:grid; place-items:center; width:22px; height:19px; border:1px solid #e8e3d6; border-radius:4px; }
.featured-languages img { width:13px; height:13px; object-fit:contain; }
.featured-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.featured-actions .btn {
  min-height:42px; padding:6px 5px; border-radius:6px; text-align:center; white-space:normal;
  font-size:.77rem; line-height:1.14;
}
.featured-actions .outline { border-color:#c5a548; color:var(--ink); }
.featured-actions .primary { background:#f6ca3e; }

.ed-section { padding-block:clamp(53px,8vw,110px); }
.ed-section-head { display:grid; grid-template-columns:1.65fr 1fr; align-items:end; gap:24px; margin-bottom:clamp(22px,3.5vw,48px); }
.ed-section-head .eyebrow,.ed-custom .section-intro .eyebrow { margin-bottom:12px; }
.ed-section-head h2,.ed-custom #custom-title,.ed-challenge #challenge-title { font-size:clamp(2.65rem,6vw,6rem); letter-spacing:-.065em; word-spacing:.04em; line-height:.97; }
.ed-aside { color:var(--sub); max-width:360px; padding-bottom:3px; }
.ed-text { display:inline-flex; align-items:center; gap:7px; padding:0; color:var(--ink); border:0; background:none; font-size:.85rem; font-weight:800; text-decoration:underline; text-underline-offset:4px; text-align:left; }
.ed-text:hover { color:var(--highlight); }
.ed-aside .ed-text { margin-top:11px; }
.ed-team-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.17fr); gap:clamp(22px,5vw,74px); align-items:start; }
.ed-photo img { width:100%; aspect-ratio:1.22; object-fit:cover; object-position:50% 47%; }
.ed-photo figcaption { padding-block:9px; border-bottom:1px solid var(--line); font-size:.69rem; letter-spacing:.06em; font-weight:800; color:var(--sub); }
.ed-team-intro { max-width:410px; margin-top:clamp(14px,2.5vw,30px); }
.team-list-label { padding-bottom:11px; }
.team-row { display:grid; grid-template-columns:minmax(0,1fr) 39px; align-items:center; gap:clamp(7px,1vw,14px); padding-block:clamp(13px,2vw,24px); border-top:1px solid var(--line); }
.team-row h3 { font-size:clamp(1.14rem,2.1vw,1.7rem); margin-bottom:4px; letter-spacing:-.035em; }
.team-row p { font-size:.9rem; color:var(--sub); }
.team-row p + p { margin-top:.7em; }
.team-row > a { width:39px; height:39px; border:1px solid var(--line); background:none; border-radius:50%; color:var(--ink); }
.team-row > a:hover { background:var(--accent); border-color:var(--accent); }
.team-jumps { display:flex; flex-wrap:wrap; gap:10px 19px; border-top:1px solid var(--line); padding-top:14px; }
.team-jumps a { color:var(--highlight); font-weight:800; font-size:.8rem; }
.team-jumps a:hover { text-decoration:underline; text-underline-offset:4px; }

.ed-challenge-bg { background:#252b1e; color:#fcfaed; }
.ed-challenge { width:min(calc(100% - 2 * var(--gutter)),var(--wrap)); margin-inline:auto; display:grid; grid-template-columns:1fr 1.05fr; align-items:center; gap:clamp(24px,8vw,108px); padding-block:clamp(40px,6vw,83px); }
.ed-challenge .challenge-copy > p:not(.eyebrow) { color:#e0e1d3; }
.ed-challenge .challenge-board { border:0; border-radius:0; background:none; padding:0; }
.ed-challenge .challenge-board .kicker { color:var(--accent); margin-bottom:12px; }
.ed-challenge .challenge-board li { display:block; border:0; border-top:1px solid #606456; }
.ed-challenge .challenge-board li:last-child { border-bottom:1px solid #606456; padding-bottom:10px; }

.ed-custom .custom-work { background:none; border:0; margin:0; padding:0; }
.ed-custom .custom-work .section-intro { margin-bottom:clamp(22px,3.5vw,48px); }
.ed-custom .ed-quote-action { justify-self:start; white-space:normal; text-align:left; }
.ed-custom .custom-formats { border-block:1px solid var(--line); gap:0; }
.ed-custom .custom-formats article { background:none; border:0; border-radius:0; padding:22px 28px 22px 0; }
.ed-custom .custom-formats article + article { border-left:1px solid var(--line); padding-left:28px; padding-right:0; }
.ed-custom .outcomes { border:0; padding:0; margin-top:25px; }
.ed-custom .outcomes ul { grid-template-columns:repeat(4,minmax(0,1fr)); }
.ed-custom .outcomes li { border:0; border-top:2px solid #aba778; padding:9px 0 0; }

.ed-games { background:#eae8dd; }
.ed-games .ed-section-head { grid-template-columns:1fr; gap:12px; }
.ed-games .ed-section-head .ed-aside { max-width:46rem; }
.ed-games .game-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px 27px; }
.ed-games .game-card {
  display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); grid-column:auto;
  background:none; border:0; border-block-start:1px solid var(--line); border-radius:0;
  gap:14px; padding:13px 0; align-items:start;
}
.ed-games .game-card > img,.ed-games .game-card:nth-child(n+4) > img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:8px; }
.ed-games .game-card > div { display:flex; flex-direction:column; align-items:flex-start; gap:5px; padding:0; min-width:0; }
.ed-games .game-card h3 { font-size:clamp(1.11rem,2vw,1.54rem); letter-spacing:-.034em; overflow-wrap:anywhere; }
.ed-games .game-card p:not(.kicker) { font-size:.84rem; }
.ed-games .game-card .text-link { margin-top:6px; padding:0; }
.ed-games .featured-stats { width:100%; grid-template-columns:repeat(auto-fit,minmax(min(100%,5rem),1fr)); margin-top:5px; }
.ed-games .featured-language-row { flex-wrap:wrap; }
.ed-games .how { width:100%; grid-template-columns:minmax(0,1fr); justify-items:start; gap:clamp(16px,2vw,28px); margin-top:34px; padding-bottom:0; }
.ed-games .how h2 { font-size:clamp(1.7rem,3vw,2.7rem); }
.ed-games .how ol { max-width:46rem; }
.ed-testimonials { background:#fcfcfc; color:#191919; }
.ed-testimonials h2 { margin-bottom:clamp(24px,3.4vw,48px); color:#383838; text-align:center; font-size:clamp(2.3rem,4.3vw,4.3rem); }
.ed-review-symbols { position:absolute; width:0; height:0; }
.ed-testimonials-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,3.35fr); align-items:center; gap:clamp(16px,3.6vw,48px); }
.ed-review-rating { display:grid; justify-items:center; text-align:center; gap:5px; font-size:clamp(.92rem,1.45vw,1.2rem); }
.ed-review-rating > strong { font-size:clamp(1.24rem,2.2vw,1.9rem); }
.ed-review-rating img { width:clamp(102px,11vw,148px); height:auto; margin-top:5px; }
.ed-review-stars { color:#e5a600; font-size:clamp(1.2rem,2.2vw,1.65rem); line-height:1; letter-spacing:.015em; }
.ed-review-rating .ed-review-stars { font-size:clamp(1.8rem,3.45vw,2.85rem); }
.ed-review-card .ed-review-stars { margin-block:14px; }
.ed-review-carousel { position:relative; min-width:0; }
.ed-review-track { --review-gap:clamp(10px,1.5vw,22px); position:relative; display:flex; align-items:stretch; gap:var(--review-gap); overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.ed-review-track::-webkit-scrollbar { display:none; }
.ed-review-card { display:flex; flex-direction:column; flex:0 0 calc((100% - 2 * var(--review-gap)) / 3); min-width:0; min-height:clamp(218px,22vw,272px); padding:clamp(13px,1.6vw,24px); background:#f1f1f1; border-radius:16px; scroll-snap-align:start; }
.ed-review-card header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:clamp(6px,1vw,12px); }
.ed-review-card h3 { font-family:inherit; letter-spacing:0; font-size:clamp(.88rem,1.23vw,1.13rem); line-height:1.2; overflow-wrap:anywhere; }
.ed-review-card time { color:#575757; font-size:.82rem; }
.ed-review-avatar { position:relative; display:grid; place-items:center; width:clamp(34px,3.7vw,52px); aspect-ratio:1; overflow:hidden; border-radius:50%; background:#405849; color:#fff; font-weight:800; }
.ed-review-avatar[style]::after { content:""; position:absolute; inset:0; background:var(--review-photo) center / cover; }
.ed-review-card:nth-child(2) .ed-review-avatar { background:#386323; }
.ed-review-card:nth-child(3) .ed-review-avatar { background:#30576d; }
.ed-review-google-icon { width:24px; height:24px; align-self:start; }
.ed-review-excerpt,.ed-review-more p { font-size:clamp(.94rem,1.33vw,1.19rem); line-height:1.45; }
.ed-review-more { margin-top:auto; padding-top:10px; }
.ed-review-more summary { width:fit-content; min-height:28px; color:#555; cursor:pointer; list-style:none; }
.ed-review-more summary::-webkit-details-marker { display:none; }
.ed-review-more summary:hover { text-decoration:underline; text-underline-offset:3px; }
.ed-review-more p { margin-top:6px; }
.ed-review-more[open] .ed-review-more-open,.ed-review-more:not([open]) .ed-review-more-close { display:none; }
.ed-review-arrows button { position:absolute; top:50%; display:grid; place-items:center; width:42px; height:42px; transform:translateY(-50%); border:1px solid #dedede; border-radius:50%; color:#3b3b3b; background:#fff; font-size:1.9rem; line-height:1; box-shadow:0 2px 5px #0001; }
.ed-review-arrows button:hover { background:#f1f1f1; }
.ed-review-arrows button:disabled { visibility:hidden; }
.ed-review-prev { left:-14px; }
.ed-review-next { right:-14px; }
.ed-review-source { display:flex; justify-content:flex-end; margin-top:14px; }
.ed-review-source a { padding:7px 11px; border-radius:4px; color:#fff; background:#176b53; font-size:.84rem; font-weight:800; }
.ed-review-source a:hover { background:#11533f; }
.ed-footer { background:var(--paper); color:var(--sub); border-top:1px solid var(--line); }
.ed-footer > div { min-height:83px; padding-block:15px; font-size:.83rem; }
.ed-footer > div > a:last-child { font-weight:800; }
.editorial #challenge,.editorial #gamificacion,.editorial #empresas,.editorial #juegos,.editorial #clientes { scroll-margin-top:22px; }

@media(min-width:781px) {
  .ed-hero-grid { position:relative; isolation:isolate; }
  .ed-hero-copy { position:relative; z-index:1; justify-self:start; padding-inline:0; margin-inline:max(var(--gutter),calc((100% - var(--wrap)) / 2)); }
  .ed-film { position:absolute; inset:0; }
  .ed-frames { inset:0; }
  .ed-frames video { object-position:center 47%; }
  .ed-frames::after {
    content:""; position:absolute; inset:0;
    background:linear-gradient(90deg,#14160fef 0%,#161811bf 40%,#16181121 83%),linear-gradient(0deg,#161811d9,transparent 28%);
  }
  .ed-film figcaption { background:none; border:0; padding-inline:max(var(--gutter),calc((100% - var(--wrap)) / 2)); }
}

@media(max-width:780px) {
  .ed-header > div { min-height:62px; }
  .ed-header nav { display:none; }
  .ed-hero-copy { padding:29px var(--gutter) 32px; }
  .ed-hero h1 { font-size:clamp(3.35rem,11vw,6.1rem); margin:12px 0 15px; }
  .ed-hero .actions { margin-top:17px; }
  .ed-film { aspect-ratio:1.6; }
  .ed-film figcaption { min-height:41px; }
  .ed-frames { bottom:41px; }
  .ed-section-head,.ed-team-grid,.ed-challenge { grid-template-columns:1fr; }
  .ed-games .game-grid { grid-template-columns:1fr; }
  .featured-card { flex-basis:calc((100% - 14px) / 2); }

  .ed-section-head { gap:9px; }
  .ed-testimonials-layout { grid-template-columns:minmax(0,1fr); gap:20px; }
  .ed-review-card { flex-basis:calc((100% - var(--review-gap)) / 2); }
  .ed-review-source { justify-content:center; }
  .ed-custom .outcomes ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ed-footer > div { flex-wrap:wrap; }
}
@media(max-width:460px) {
  .ed-review > div { gap:6px; font-size:9px; }
  .ed-review-card { flex-basis:100%; padding-inline:20px; }
  .ed-hero h1 { font-size:clamp(3.2rem,12vw,5.2rem); }
  .ed-hero .btn { min-height:44px; font-size:.77rem; }
  .film-meta { display:none; }
  .ed-custom .custom-formats { grid-template-columns:1fr; }
  .ed-custom .custom-formats article { padding-right:0; }
  .ed-custom .custom-formats article + article { border-left:0; border-top:1px solid var(--line); padding-left:0; }
  .featured-card { flex-basis:88%; }
  .featured-languages { gap:2px; }
  .featured-languages li { width:19px; }
  .ed-games .game-card { grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr); gap:10px; }
  .ed-games .game-card > img,.ed-games .game-card:nth-child(n+4) > img { aspect-ratio:4/5; }
  .ed-games .game-card .text-link { font-size:.82rem; padding-top:4px; }
}
